ResponseMCPApprovalResponseItem interface

A response 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.

reason

The reason for the approval decision.

type

The type of the item.

Inherited Properties

id
object

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

reason

The reason for the approval decision.

reason?: string

Property Value

string

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 ResponseItem.id

object

object?: "realtime.item"

Property Value

"realtime.item"

Inherited From ResponseItem.object