8 pages for --disallowedtools.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…-mode) teammate runs under the lead's live allow and deny rules, so [`--disallowedTools`](/docs/en/cli-reference#cli-flags), `--tools`, and `--allowedTools` all apply to it. For a split-pane teammate,…
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.md) still apply. | | `--ver…
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…
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.md) * in the Agent SDK's [`allowedTools` and `disallowedTools`](/docs/en/age…