ResponseMCPApprovalResponseItem interface
A response item that represents a response to an MCP approval request.
- Extends
Properties
| approval |
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. |
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"