VoiceAgentMcpTool 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.
An MCP tool available to a voice agent. Server endpoints use server_url; connector and tunnel identifiers are not supported.
public class VoiceAgentMcpTool : Azure.AI.Projects.Agents.VoiceAgentTool, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.VoiceAgentMcpTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.VoiceAgentMcpTool>
type VoiceAgentMcpTool = class
inherit VoiceAgentTool
interface IJsonModel<VoiceAgentMcpTool>
interface IPersistableModel<VoiceAgentMcpTool>
Public Class VoiceAgentMcpTool
Inherits VoiceAgentTool
Implements IJsonModel(Of VoiceAgentMcpTool), IPersistableModel(Of VoiceAgentMcpTool)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| VoiceAgentMcpTool(String) |
Initializes a new instance of VoiceAgentMcpTool. |
Properties
| Name | Description |
|---|---|
| AllowedCallers |
Gets the AllowedCallers. |
| AllowedTools |
Gets or sets the AllowedTools. |
| Authorization |
An OAuth access token that can be used with a remote MCP server, either with a custom MCP server URL or a service connector. Your application must handle the OAuth authorization flow and provide the token here. |
| DeferLoading |
Whether this MCP tool is deferred and discovered via tool search. |
| Headers |
Gets or sets the Headers. |
| ProjectConnectionId |
The connection ID in the project for the MCP server. The connection stores authentication and other connection details needed to connect to the MCP server. |
| ResponseScheduling |
When the MCP invocation creates a follow-up response. Defaults to |
| ServerDescription |
Optional description of the MCP server, used to provide more context. |
| ServerLabel |
A label for this MCP server, used to identify it in tool calls. |
| ServerUri |
The URL for the MCP server. One of |
| ServerUrl |
The URL for the MCP server. One of |
| ToolCallApprovalPolicy |
The approval policy used by the tool. |
| ToolConfigs |
Deprecated. This property is deprecated and will be removed in a future version. |