ToolApprovalRequestContent.RequiresConfirmation Property
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.
Gets or sets a value indicating whether the underlying tool call must be confirmed before it is invoked.
public:
property bool RequiresConfirmation { bool get(); void set(bool value); };
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
[System.Text.Json.Serialization.JsonIgnore]
public bool RequiresConfirmation { get; set; }
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
[<System.Text.Json.Serialization.JsonIgnore>]
member this.RequiresConfirmation : bool with get, set
Public Property RequiresConfirmation As Boolean
Property Value
- Attributes
Remarks
Defaults to true. When true, the underlying tool requires a confirmation (such as a user prompt, a policy decision, or any other approver) before it can be invoked. When false, the underlying tool does not require a confirmation and the consumer may proceed without prompting; a corresponding ToolApprovalResponseContent still has to be supplied so the originating tool call can be invoked.