ResponseMCPCallItem interface

A response item that represents a call to an MCP tool.

Extends

Properties

approvalRequestId

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.

serverLabel

The label of the server that provides the tool.

type

The type of the item.

Inherited Properties

id
object

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"

Inherited Property Details

id

id?: string

Property Value

string

Inherited From ResponseItem.id

object

object?: "realtime.item"

Property Value

"realtime.item"

Inherited From ResponseItem.object