ภาษา

ProjectsAgentsModelFactory.VoiceAgentTool(String) Method

Definition

A tool usable by a voice agent. Please note this is the abstract base class. The derived classes available for instantiation are: VoiceAgentFunctionTool, VoiceAgentMcpTool, VoiceAgentSystemTool, and VoiceAgentToolboxTool.

public static Azure.AI.Projects.Agents.VoiceAgentTool VoiceAgentTool(string type = default);
static member VoiceAgentTool : string -> Azure.AI.Projects.Agents.VoiceAgentTool
Public Shared Function VoiceAgentTool (Optional type As String = Nothing) As VoiceAgentTool

Parameters

type
String

The tool kind.

Returns

A new VoiceAgentTool instance for mocking.

Applies to