Lingua

ProjectsAgentsModelFactory.VoiceAgentFunctionTool Method

Definition

A native function tool executed by the client.

public static Azure.AI.Projects.Agents.VoiceAgentFunctionTool VoiceAgentFunctionTool(string description = default, OpenAI.RealtimeFunctionToolParameters parameters = default, string name = default);
static member VoiceAgentFunctionTool : string * OpenAI.RealtimeFunctionToolParameters * string -> Azure.AI.Projects.Agents.VoiceAgentFunctionTool
Public Shared Function VoiceAgentFunctionTool (Optional description As String = Nothing, Optional parameters As RealtimeFunctionToolParameters = Nothing, Optional name As String = Nothing) As VoiceAgentFunctionTool

Parameters

description
String

The description of the function, including guidance on when and how to call it, and guidance about what to tell the user when calling (if anything).

parameters
RealtimeFunctionToolParameters

Parameters of the function in JSON Schema.

name
String

The function name.

Returns

A new VoiceAgentFunctionTool instance for mocking.

Applies to