FileAccessProviderOptions.DisableReadOnlyToolApproval 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 read-only file access tools (ReadFileToolName, LsToolName, and GrepToolName).
public bool DisableReadOnlyToolApproval { get; set; }
member this.DisableReadOnlyToolApproval : bool with get, set
Public Property DisableReadOnlyToolApproval 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, auto-approval rules (e.g. ReadOnlyToolsAutoApprovalRule or AllToolsAutoApprovalRule) can be used to automatically approve calls.