Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

3 pages for --disallowed-tools.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

CLI reference Claude Code CLI · in the page cli-reference …| | `--disallowedTools`, `--disallowed-tools` | Deny rules. A bare tool name removes the matching tools from Claude's context: `"Edit"` removes Edit,… Fullscreen rendering Claude Code CLI · in the page fullscreen …ig#setting-your-model) * Rules you passed with [`--allowed-tools` or `--disallowed-tools`](/docs/en/cli-reference#cli-flags), and your `--agent`, `--agents`, `--append-system-prompt`, and `--system-pr… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …yarn *) mcp__internal__*"`. List flags such as `--allowed-tools` and `--disallowed-tools` accumulate across occurrences rather than overriding, so your rules apply on top of any rules the control plan…
Feedback