Share via


ToolApproval(String, Boolean) Constructor

Definition

Initializes a new instance of ToolApproval.

public ToolApproval(string toolCallId, bool approve);
new Azure.AI.Agents.Persistent.ToolApproval : string * bool -> Azure.AI.Agents.Persistent.ToolApproval
Public Sub New (toolCallId As String, approve As Boolean)

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.

Exceptions

toolCallId is null.

Applies to