RequiredMcpToolCall interface

A representation of a requested call to a MCP tool, needed by the model to continue evaluation of a run.

Extends

Properties

arguments

The arguments to use when invoking the mcp tool, as provided by the model. Arguments are presented as a JSON document that should be validated and parsed for evaluation.

name

The name of the function used on the MCP server.

serverLabel

The label of the MCP server.

type

The object type of the required tool call. Always 'mcp' for MCP tools.

Inherited Properties

id

The ID of the tool call. This ID must be referenced when submitting tool outputs.

Property Details

arguments

The arguments to use when invoking the mcp tool, as provided by the model. Arguments are presented as a JSON document that should be validated and parsed for evaluation.

arguments: string

Property Value

string

name

The name of the function used on the MCP server.

name: string

Property Value

string

serverLabel

The label of the MCP server.

serverLabel: string

Property Value

string

type

The object type of the required tool call. Always 'mcp' for MCP tools.

type: "mcp"

Property Value

"mcp"

Inherited Property Details

id

The ID of the tool call. This ID must be referenced when submitting tool outputs.

id: string

Property Value

string

Inherited From RequiredToolCall.id