RealtimeMCPApprovalResponse interface
A Realtime item responding to an MCP approval request.
- Extends
Properties
| approval_request_id | The ID of the approval request being answered. |
| approve | Whether the request was approved. |
| created_at | The Unix timestamp (in seconds) for when the item was persisted. |
| id | The unique ID of the approval response. |
| reason | An explanation of the decision to approve or reject the MCP tool invocation. |
| response_id | The id of the response that produced this item, when applicable. |
| 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
created_at
The Unix timestamp (in seconds) for when the item was persisted.
created_at?: Date
Property Value
Date
id
The unique ID of the approval response.
id: string
Property Value
string
reason
An explanation of the decision to approve or reject the MCP tool invocation.
reason?: string
Property Value
string
response_id
The id of the response that produced this item, when applicable.
response_id?: string
Property Value
string
type
The type of the item. Always mcp_approval_response.
type: "mcp_approval_response"
Property Value
"mcp_approval_response"