9 pages for --disallowed.
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: `"…
Desktop application
Claude Code CLI · in the page
desktop
…running-tasks-in-the-cloud) in a cloud session | | `--allowedTools`, `--disallowedTools` | No per-session equivalent. Permission rules in [settings files](/docs/en/settings) still apply. | | `--verbos…
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…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…l settings * Enterprise managed policy * `--allowedTools` or `--disallowedTools` flags * The active permission mode * The auto mode classifier, whose verdict the same event records in…
Configure permissions
Claude Code CLI · in the page
permissions
…alue)`. To match a parameter on an MCP tool, pass a deny rule with [`--disallowedTools`](/docs/en/cli-reference#cli-flags). When Claude Code loads a settings file, it skips any `mcp__` rule that has…
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…
All settings
Claude Code CLI · in the page
settings-reference
…the managed rules with a `!` rule, whether or not you set this key. `--disallowedTools` rules and the current session's `deny` and `ask` rules still apply, including after Claude Code reloads setting…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…s works for both built-in and custom subagents. You can also use the `--disallowedTools` CLI flag: ```bash theme={null} claude --disallowedTools "Agent(Explore)" ``` See [Permissions documentation](…
Tools reference
Claude Code CLI · in the page
tools-reference
…ings, and the `/permissions` interface * in the `--allowedTools` and `--disallowedTools` [CLI flags](/docs/en/cli-reference) * in the Agent SDK's [`allowedTools` and `disallowedTools`](/docs/en/agent-…