mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-01 21:57:10 -07:00
add documentation
This commit is contained in:
@@ -439,6 +439,8 @@ The Gemini CLI ships with a set of default policies to provide a safe
|
||||
out-of-the-box experience.
|
||||
|
||||
- **Read-only tools** (like `read_file`, `glob`) are generally **allowed**.
|
||||
- **MCP Read-only tools**: MCP tools that explicitly declare themselves as
|
||||
read-only via the `readOnlyHint` annotation are automatically allowed.
|
||||
- **Agent delegation** defaults to **`ask_user`** to ensure remote agents can
|
||||
prompt for confirmation, but local sub-agent actions are executed silently and
|
||||
checked individually.
|
||||
|
||||
Reference in New Issue
Block a user