InputItemMcpApprovalResponse interface

A response to an MCP approval request.

Extends

Properties

approval_request_id

The ID of the approval request being answered.

approve

Whether the request was approved.

id
reason
type

The type of the item. Always mcp_approval_response.

Property Details

approval_request_id

The ID of the approval request being answered.

approval_request_id: string

Property Value

string

approve

Whether the request was approved.

approve: boolean

Property Value

boolean

id

id?: string

Property Value

string

reason

reason?: string

Property Value

string

type

The type of the item. Always mcp_approval_response.

type: "mcp_approval_response"

Property Value

"mcp_approval_response"