RealtimeMCPApprovalRequest interface
A Realtime item requesting human approval of a tool invocation.
- Extends
Properties
| arguments | A JSON string of arguments for the tool. |
| created_at | The Unix timestamp (in seconds) for when the item was persisted. |
| id | The unique ID of the approval request. |
| name | The name of the tool to run. |
| response_id | The id of the response that produced this item, when applicable. |
| server_label | The label of the MCP server making the request. |
| type | The type of the item. Always |
Property Details
arguments
A JSON string of arguments for the tool.
arguments: string
Property Value
string
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 request.
id: string
Property Value
string
name
The name of the tool to run.
name: string
Property Value
string
response_id
The id of the response that produced this item, when applicable.
response_id?: string
Property Value
string
server_label
The label of the MCP server making the request.
server_label: string
Property Value
string
type
The type of the item. Always mcp_approval_request.
type: "mcp_approval_request"
Property Value
"mcp_approval_request"