MCPTool(String) Constructor

Definition

Initializes a new instance of MCPTool.

public MCPTool(string serverLabel);
new Azure.AI.AgentServer.Responses.Models.MCPTool : string -> Azure.AI.AgentServer.Responses.Models.MCPTool
Public Sub New (serverLabel As String)

Parameters

serverLabel
String

A label for this MCP server, used to identify it in tool calls.

Exceptions

serverLabel is null.

Applies to