MCPToolDefinition(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 MCPToolDefinition.
public MCPToolDefinition(string serverLabel, string serverUrl);
new Azure.AI.Agents.Persistent.MCPToolDefinition : string * string -> Azure.AI.Agents.Persistent.MCPToolDefinition
Public Sub New (serverLabel As String, serverUrl As String)
Parameters
- serverLabel
- String
The label for the MCP server.
- serverUrl
- String
The endpoint for the MCP server.
Exceptions
serverLabel or serverUrl is null.