Share via


ItemMcpApprovalRequest interface

A request for human approval of a tool invocation.

Extends

Properties

arguments

A JSON string of arguments for the tool.

id

The unique ID of the approval request.

name

The name of the tool to run.

server_label

The label of the MCP server making the request.

type

The type of the item. Always mcp_approval_request.

Property Details

arguments

A JSON string of arguments for the tool.

arguments: string

Property Value

string

id

The unique ID of the approval request.

id: string

Property Value

string

name

The name of the tool to run.

name: string

Property Value

string

server_label

The label of the MCP server making the request.

server_label: string

Property Value

string

type

The type of the item. Always mcp_approval_request.

type: "mcp_approval_request"

Property Value

"mcp_approval_request"