MCP服务

完成对话内 MCP OAuth 授权

Changed on

用户在对话中完成 OAuth 授权后调用,校验令牌存在后恢复被暂停的 Agent 工具调用

post/agent/mcp-oauth-resolutions/{pending_id}

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/agent/mcp-oauth-resolutions/{pending_id}
  • Auth
    API key in header Authorization

Path parameters

pending_idstring required

待授权 ID

Request body

object required

Response

OK

successboolean

Example response

{
  "success": true
}

Changes