MCPTool(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 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.