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, String) |
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 RequireApproval. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). <remarks> Supported types:
Examples:
|
| ServerLabel |
Gets or sets the ServerLabel. |
| ServerUrl |
Gets or sets the ServerUrl. |