ItemMcpToolCall(String, String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.