A request for human approval of a tool invocation.

interface McpApprovalRequest {
    arguments: string;
    id: string;
    name: string;
    server_label: string;
    type: "mcp_approval_request";
}

Properties

arguments: string

A JSON string of arguments for the tool.

id: string

The unique ID of the approval request.

name: string

The name of the tool to run.

server_label: string

The label of the MCP server making the request.

type: "mcp_approval_request"

The type of the item. Always mcp_approval_request.