MCPToolDefinition Class
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.
The input definition information for a MCP tool which defines a MCP server endpoint.
public class MCPToolDefinition : Azure.AI.Agents.Persistent.ToolDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.MCPToolDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.MCPToolDefinition>
type MCPToolDefinition = class
inherit ToolDefinition
interface IJsonModel<MCPToolDefinition>
interface IPersistableModel<MCPToolDefinition>
Public Class MCPToolDefinition
Inherits ToolDefinition
Implements IJsonModel(Of MCPToolDefinition), IPersistableModel(Of MCPToolDefinition)
- Inheritance
- Implements
Constructors
MCPToolDefinition(String, String) |
Initializes a new instance of MCPToolDefinition. |
Properties
AllowedTools |
List of allowed tools for MCP server. |
ServerLabel |
The label for the MCP server. |
ServerUrl |
The endpoint for the MCP server. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |