Share via


RunStepMcpToolCall Class

Definition

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

public class RunStepMcpToolCall : Azure.AI.Agents.Persistent.RunStepToolCall, System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.RunStepMcpToolCall>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.RunStepMcpToolCall>
type RunStepMcpToolCall = class
    inherit RunStepToolCall
    interface IJsonModel<RunStepMcpToolCall>
    interface IPersistableModel<RunStepMcpToolCall>
Public Class RunStepMcpToolCall
Inherits RunStepToolCall
Implements IJsonModel(Of RunStepMcpToolCall), IPersistableModel(Of RunStepMcpToolCall)
Inheritance
RunStepMcpToolCall
Implements

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.

Id

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

(Inherited from RunStepToolCall)
Name

Name of the function used on the MCP server.

Output

Output of the MCP tool call.

ServerLabel

The label for the MCP server.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RunStepMcpToolCall>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RunStepMcpToolCall>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RunStepToolCall>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from RunStepToolCall)
IJsonModel<RunStepToolCall>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RunStepToolCall)
IPersistableModel<RunStepMcpToolCall>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepMcpToolCall>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RunStepMcpToolCall>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RunStepToolCall>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RunStepToolCall)
IPersistableModel<RunStepToolCall>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from RunStepToolCall)
IPersistableModel<RunStepToolCall>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RunStepToolCall)

Applies to