17 pages for --allowedtools.
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
…-disallowedTools`](/docs/en/cli-reference#cli-flags), `--tools`, and `--allowedTools` all apply to it. For a split-pane teammate, check each flag: * **`--disallowedTools` and `--tools`**: the teammat…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…s > [!TIP] > > Loop through tasks calling `claude -p` for each. Use `--allowedTools` to pre-approve tools for batch operations. For large migrations or analyses, you can distribute work across many…
Claude Code changelog
Claude Code CLI · in the page
changelog
…irst turn to still wait up to 2s for connecting MCP servers named by `--allowedTools` or an `mcp_tool` hook, even when `CLAUDE_CODE_MCP_STARTUP_WAIT_MS` is `0` * Changed `/recap` to decline with a sho…
CLI reference
Claude Code CLI · in the page
cli-reference
…low-dangerously-skip-permissions` | | `--allowedTools`, `--allowed-tools` | Tools that execute without prompting for permission. See [permission rule syntax]…
Desktop application
Claude Code CLI · in the page
desktop
…tories](#run-long-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…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…pull/${{ github.event.pull_request.number }}" claude_args: '--allowedTools "mcp__github_inline_comment__create_inline_comment"' ``` Two lines in this workflow control where the review goes:…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…nt the requested changes'}" --permission-mode acceptEdits --allowedTools "Bash Read Edit Write mcp__gitlab" --debug ``` After adding the job and your `ANTHROPIC_API_KEY` variable, t…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…ed: ```bash theme={null} claude -p "Find and fix the bug in auth.py" --allowedTools "Read,Edit,Bash" ``` This page covers using the Agent SDK via the CLI (`claude -p`). For the Python and TypeScript…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…ignore permission rules from user, project, and local files and from `--allowedTools`: ```json managed-settings.json theme={null} { "permissions": { "deny": [ "Read(./.env)", "Read(…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…n the user's personal settings * Enterprise managed policy * `--allowedTools` or `--disallowedTools` flags * The active permission mode * The auto mode classifier, whose verdict the sa…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…allowlist | `claude -p "run the test suite" --permission-mode dontAsk --allowedTools "Bash(npm test)" "Read"` | None beyond what your CI runner provides | [Cloud sessions](/docs/en/claude-code-on-the-…
Configure permissions
Claude Code CLI · in the page
permissions
…llow it. For example, a managed settings deny can't be overridden by `--allowedTools`, and `--disallowedTools` can add restrictions beyond what managed settings define. The same holds across settings…
All settings
Claude Code CLI · in the page
settings-reference
…deny` rules in user, project, local, and `--settings` files, ignores `--allowedTools`, hides the always-allow choices in permission prompts, and stops saving new rules. When [parent settings from an…
Tools reference
Claude Code CLI · in the page
tools-reference
…issions-deny) in settings, and the `/permissions` interface * in the `--allowedTools` and `--disallowedTools` [CLI flags](/docs/en/cli-reference.md) * in the Agent SDK's [`allowedTools` and `disallowe…
Lazy authentication for MCP servers
Claude Documentation · in the page
connectors/building/lazy-authentication
…theme={null} claude -p "List the products from the authtest server." --allowedTools mcp__authtest__list_products ``` Claude reports the products and no sign-in prompt appears. Run the same command a…
Build your first MCP server for Claude
Claude Documentation · in the page
connectors/building/quickstart
…<server>__<tool>`, so your tool is `mcp__quickstart__roll_dice`, and `--allowedTools` lets Claude call it without stopping to ask you: ```bash theme={null} claude -p "Roll three 20-sided dice using t…
Create custom skills
Claude Documentation · in the page
skills/how-to
…can't stop to ask, allow the script on the command line, for example `--allowedTools "Bash(python3 /path/to/my-plugin/skills/render-chart/scripts/render.py *)"`, using the script's absolute path. Clau…