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

MCPCallItemParam Constructors

Definition

Overloads

Name Description
MCPCallItemParam()

Initializes a new instance of MCPCallItemParam for deserialization.

MCPCallItemParam(String, String, String)

Initializes a new instance of MCPCallItemParam.

MCPCallItemParam(ItemType, IDictionary<String,BinaryData>, String, String, String, String, String)

Initializes a new instance of MCPCallItemParam.

MCPCallItemParam()

Source:
MCPCallItemParam.cs

Initializes a new instance of MCPCallItemParam for deserialization.

public MCPCallItemParam();
Public Sub New ()

Applies to

MCPCallItemParam(String, String, String)

Source:
MCPCallItemParam.cs

Initializes a new instance of MCPCallItemParam.

public MCPCallItemParam(string serverLabel, string name, string arguments);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPCallItemParam : string * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPCallItemParam
Public Sub New (serverLabel As String, name As String, arguments As String)

Parameters

serverLabel
String

The label of the MCP server running the tool.

name
String

The name of the tool that was run.

arguments
String

A JSON string of the arguments passed to the tool.

Exceptions

serverLabel, name or arguments is null.

Applies to

MCPCallItemParam(ItemType, IDictionary<String,BinaryData>, String, String, String, String, String)

Source:
MCPCallItemParam.cs

Initializes a new instance of MCPCallItemParam.

public MCPCallItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string serverLabel, string name, string arguments, string output, string error);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPCallItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * System.Collections.Generic.IDictionary<string, BinaryData> * string * string * string * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPCallItemParam
Public Sub New (type As ItemType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), serverLabel As String, name As String, arguments As String, output As String, error As String)

Parameters

type
ItemType
serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

serverLabel
String

The label of the MCP server running the tool.

name
String

The name of the tool that was run.

arguments
String

A JSON string of the arguments passed to the tool.

output
String

The output from the tool call.

error
String

The error from the tool call, if any.

Applies to