PersistentAgentsModelFactory.SubmitToolApprovalDetails Method
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.
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.