MCP服务

处理 MCP 工具调用待审批请求

Changed on

用户审批通过或驳回一次工具调用(用于 Agent 阻塞等待审批的场景)

post/agent/tool-approvals/{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/tool-approvals/{pending_id}
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Path parameters

pending_idstring required

待审批记录 ID

Request body

object required

Response

审批结果

object required

Changes