ItemMcpToolCall(String, String, String, String) Constructor

Definition

Initializes a new instance of ItemMcpToolCall.

public ItemMcpToolCall(string id, string serverLabel, string name, string arguments);
new Azure.AI.AgentServer.Responses.Models.ItemMcpToolCall : string * string * string * string -> Azure.AI.AgentServer.Responses.Models.ItemMcpToolCall
Public Sub New (id As String, serverLabel As String, name As String, arguments As String)

Parameters

id
String

The unique ID of the tool call.

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

id, serverLabel, name or arguments is null.

Applies to