VoiceLiveMcpServerDefinition 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 definition of an MCP server as used by the voicelive endpoint.
public class VoiceLiveMcpServerDefinition : Azure.AI.VoiceLive.VoiceLiveToolDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.VoiceLiveMcpServerDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.VoiceLiveMcpServerDefinition>
type VoiceLiveMcpServerDefinition = class
inherit VoiceLiveToolDefinition
interface IJsonModel<VoiceLiveMcpServerDefinition>
interface IPersistableModel<VoiceLiveMcpServerDefinition>
Public Class VoiceLiveMcpServerDefinition
Inherits VoiceLiveToolDefinition
Implements IJsonModel(Of VoiceLiveMcpServerDefinition), IPersistableModel(Of VoiceLiveMcpServerDefinition)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| VoiceLiveMcpServerDefinition(String, Uri) |
Initializes a new instance of VoiceLiveMcpServerDefinition. |
Properties
| Name | Description |
|---|---|
| AllowedTools |
Gets the AllowedTools. |
| Authorization |
Gets or sets the Authorization. |
| Headers |
Gets the Headers. |
| RequireApproval |
Gets or sets the approval requirements for MCP tool execution. |
| ServerLabel |
Gets or sets the ServerLabel. |
| ServerUrl |
Gets or sets the ServerUrl. |