Freigeben über


PersistentAgentsModelFactory.SubmitToolApprovalDetails Method

Definition

Initializes a new instance of SubmitToolApprovalDetails.

public static Azure.AI.Agents.Persistent.SubmitToolApprovalDetails SubmitToolApprovalDetails(System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.RequiredToolCall> toolCalls = default);
static member SubmitToolApprovalDetails : seq<Azure.AI.Agents.Persistent.RequiredToolCall> -> Azure.AI.Agents.Persistent.SubmitToolApprovalDetails
Public Shared Function SubmitToolApprovalDetails (Optional toolCalls As IEnumerable(Of RequiredToolCall) = Nothing) As SubmitToolApprovalDetails

Parameters

toolCalls
IEnumerable<RequiredToolCall>

The list of tool calls that must be approved for the agent thread run to continue. Please note RequiredToolCall is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RequiredComputerUseToolCall, RequiredFunctionToolCall and RequiredMcpToolCall.

Returns

A new SubmitToolApprovalDetails instance for mocking.

Applies to