RunStepMcpToolCall interface

A record of a call to a MCP tool, issued by the model in evaluation of a defined tool, that represents executed MCP actions.

Extends

Properties

arguments

Arguments to the MCP tool call, as provided by the model. Arguments are presented as a JSON document that should be validated and parsed for evaluation.

name

Name of the function used on the MCP server.

output

Output of the MCP tool call.

serverLabel

The label for the MCP server

type

The object type, which is always 'mcp'.

Inherited Properties

id

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

Property Details

arguments

Arguments to the MCP tool call, 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

Name of the function used on the MCP server.

name: string

Property Value

string

output

Output of the MCP tool call.

output: string

Property Value

string

serverLabel

The label for the MCP server

serverLabel?: string

Property Value

string

type

The object type, which is always 'mcp'.

type: "mcp"

Property Value

"mcp"

Inherited Property Details

id

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

id: string

Property Value

string

Inherited From RunStepToolCall.id