ResponseMCPCallItem interface
A response item that represents a call to an MCP tool.
- Extends
Properties
| approval |
The ID of the approval request, if any. |
| arguments | The arguments for the tool call. |
| error | The error, if any, from the tool call. |
| name | The name of the tool to call. |
| output | The output of the tool call. |
| server |
The label of the server that provides the tool. |
| type | The type of the item. |
Property Details
approvalRequestId
The ID of the approval request, if any.
approvalRequestId?: string
Property Value
string
arguments
The arguments for the tool call.
arguments: string
Property Value
string
error
The error, if any, from the tool call.
error?: any
Property Value
any
name
The name of the tool to call.
name: string
Property Value
string
output
The output of the tool call.
output?: string
Property Value
string
serverLabel
The label of the server that provides the tool.
serverLabel: string
Property Value
string
type
The type of the item.
type: "mcp_call"
Property Value
"mcp_call"