MCPApprovalResponse 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 | The unique ID of the approval response item. |
| reason | An optional reason for the approval or rejection. |
| type | The type of the item. Always |
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
The unique ID of the approval response item.
id?: string
Property Value
string
reason
An optional reason for the approval or rejection.
reason?: string
Property Value
string
type
The type of the item. Always mcp_approval_response.
type: "mcp_approval_response"
Property Value
"mcp_approval_response"