claude --allowedTools 'Bash,Read,Write'

Category: AI Agents & MCP

claude --allowedTools 'Bash,Read,Write'

Limit which tools Claude Code can use in a session

By default, Claude Code has access to Bash, file Read/Write, and other tools. Restricting with --allowedTools limits what it can do — useful in automated pipelines where you want code changes but not arbitrary command execution.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.