Share via


MCPApprovalResponseRequestItem interface

A request item that represents a response to an MCP approval request.

Extends

Properties

approvalRequestId

The ID of the approval request.

approve

Whether the tool call was approved.

type

The type of the item.

Inherited Properties

id

Property Details

approvalRequestId

The ID of the approval request.

approvalRequestId: string

Property Value

string

approve

Whether the tool call was approved.

approve: boolean

Property Value

boolean

type

The type of the item.

type: "mcp_approval_response"

Property Value

"mcp_approval_response"

Inherited Property Details

id

id?: string

Property Value

string

Inherited From ConversationRequestItem.id