ภาษา

ProjectsAgentsModelFactory.VoiceAgentToolboxTool Method

Definition

A reference to a Foundry toolbox, which is a versioned bundle of tools executed through its MCP endpoint.

public static Azure.AI.Projects.Agents.VoiceAgentToolboxTool VoiceAgentToolboxTool(string toolboxName = default, string toolboxVersion = default, Azure.AI.Projects.Agents.VoiceAgentToolResponseScheduling? responseScheduling = default);
static member VoiceAgentToolboxTool : string * string * Nullable<Azure.AI.Projects.Agents.VoiceAgentToolResponseScheduling> -> Azure.AI.Projects.Agents.VoiceAgentToolboxTool
Public Shared Function VoiceAgentToolboxTool (Optional toolboxName As String = Nothing, Optional toolboxVersion As String = Nothing, Optional responseScheduling As Nullable(Of VoiceAgentToolResponseScheduling) = Nothing) As VoiceAgentToolboxTool

Parameters

toolboxName
String

The name of the toolbox to attach.

toolboxVersion
String

The immutable version of the toolbox to attach.

responseScheduling
Nullable<VoiceAgentToolResponseScheduling>

When the toolbox invocation creates a follow-up response. Defaults to when_idle.

Returns

A new VoiceAgentToolboxTool instance for mocking.

Applies to