FileAccessProviderOptions.DisableWriteToolApproval 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 approval is disabled for the tools that modify the file store (WriteToolName, DeleteFileToolName, ReplaceToolName, and ReplaceLinesToolName).
public bool DisableWriteToolApproval { get; set; }
member this.DisableWriteToolApproval : bool with get, set
Public Property DisableWriteToolApproval As Boolean
Property Value
Remarks
When false (the default), these tools require approval before invocation. When true, they can be invoked without approval. If any other tool in the same response still requires approval, set EnableNonApprovalRequiredFunctionBypassing to true so these tools are not surfaced as approval requests. When approval is required, the AllToolsAutoApprovalRule can be used to automatically approve calls. This setting has no effect when DisableWriteTools is true, since the tools that modify the store are not exposed in that case.