--allowedTools
A Claude Code CLI flag, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
Tools that execute without prompting for permission. See [permission rule syntax](/docs/en/settings-reference#permission-rule-syntax) for pattern matching. To restrict which tools are available, use --tools instead. If you name one of the [task-tracking tools](/docs/en/tools-reference#task-tool-availability) here, Claude Code also opts the session in
Anthropic's own wording. Read off CLI reference, captured 2026-08-28.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.234Early flag scan no longer mistakes tool lists and directories for flags
Tool lists and directories passed to flags are no longer misread as flags themselves at startup.
named in this entry
Documentation pages
- CLI reference reference table Claude Code CLI
- Best practices for Claude Code mentions it Claude Code CLI
- Desktop application mentions it Claude Code CLI
- Claude Code GitHub Actions mentions it Claude Code CLI
- Claude Code GitLab CI/CD mentions it Claude Code CLI
- Run Claude Code programmatically mentions it Claude Code CLI
- Deploy managed settings mentions it Claude Code CLI
- Monitoring mentions it Claude Code CLI
- Choose a permission mode mentions it Claude Code CLI
- Configure permissions mentions it Claude Code CLI
- Claude Code settings reference mentions it Claude Code CLI
- Tools reference mentions it Claude Code CLI
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.