---
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` — 待审批记录不存在

## Changes

- **2026-05-11** `80a8b4b45cb8` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/agent/tool-approvals/:pending_id/post.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/794821c045c7/schema)
