PersistentAgentsModelFactory.ToolApproval 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 ToolApproval.
public static Azure.AI.Agents.Persistent.ToolApproval ToolApproval(string toolCallId = default, bool approve = false, System.Collections.Generic.IDictionary<string,string> headers = default);
static member ToolApproval : string * bool * System.Collections.Generic.IDictionary<string, string> -> Azure.AI.Agents.Persistent.ToolApproval
Public Shared Function ToolApproval (Optional toolCallId As String = Nothing, Optional approve As Boolean = false, Optional headers As IDictionary(Of String, String) = Nothing) As ToolApproval
Parameters
- toolCallId
- String
The ID of the tool call being resolved, as provided in the tool calls of a required action from a run.
- approve
- Boolean
The approval boolean value to be submitted.
- headers
- IDictionary<String,String>
Headers to be attached to the approval.
Returns
A new ToolApproval instance for mocking.