display verbiage for auto-executing tools and make sure auto-execute only happens when tools are being sandboxed

This commit is contained in:
A.K.M. Adib
2026-03-30 17:03:02 -04:00
parent 7233000464
commit e5d3235eaf
13 changed files with 294 additions and 14 deletions
+1 -4
View File
@@ -653,10 +653,7 @@ When confirmation is required, users can choose:
#### Read-only bypass
If an MCP tool provides a `readOnlyHint` in its metadata (annotations), the
Gemini CLI will automatically execute it without prompting for confirmation,
regardless of the configured approval mode. This ensures a seamless experience
for safe, data-fetching operations.
If an MCP tool provides a `readOnlyHint` in its metadata (annotations) AND tool sandboxing is enabled, the Gemini CLI will automatically execute it without prompting for confirmation, regardless of the configured approval mode. This ensures a seamless experience for safe, data-fetching operations while maintaining system security.
### 3. Execution