你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PersistentAgentsModelFactory.RunStepMcpToolCall Method

Definition

Initializes a new instance of RunStepMcpToolCall.

public static Azure.AI.Agents.Persistent.RunStepMcpToolCall RunStepMcpToolCall(string id = default, string arguments = default, string name = default, string output = default, string serverLabel = default);
static member RunStepMcpToolCall : string * string * string * string * string -> Azure.AI.Agents.Persistent.RunStepMcpToolCall
Public Shared Function RunStepMcpToolCall (Optional id As String = Nothing, Optional arguments As String = Nothing, Optional name As String = Nothing, Optional output As String = Nothing, Optional serverLabel As String = Nothing) As RunStepMcpToolCall

Parameters

id
String

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

arguments
String

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
String

Name of the function used on the MCP server.

output
String

Output of the MCP tool call.

serverLabel
String

The label for the MCP server.

Returns

A new RunStepMcpToolCall instance for mocking.

Applies to