GM-013: Deprecated tools.exclude Setting - Gemini CLI
Summary
- Rule ID:
GM-013 - Severity:
LOW - Category:
Gemini CLI - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
gemini-cli - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://geminicli.com/docs/reference/policy-engine
- https://geminicli.com/docs/tools/shell
- https://geminicli.com/docs/cli/enterprise
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
{"tools":{"exclude":["run_shell_command(rm -rf)"]}}
Valid
[[rule]]
toolName = "run_shell_command"
commandPrefix = "rm -rf"
decision = "deny"
priority = 100