---
title: "处理 MCP 工具调用待审批请求"
method: POST
path: "/agent/tool-approvals/{pending_id}"
tags: ["MCP服务"]
---

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

`POST /agent/tool-approvals/{pending_id}`

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

## Path parameters

- `pending_id` string, required

## Request body

- object

## Response `200`

审批结果

- object

## Other responses

- `400` — 请求参数错误
- `404` — 待审批记录不存在

---

[API](https://skmtc.net/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.net/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/versions/d6921ae22ce0/schema)
