Skip to content

Firsthand.today

Claude Code --allowedTools Not Working? Why Unlisted Commands Still Run

Summary

In Claude Code 2.1.326, --allowedTools only pre-approves the tools you name and removes nothing; unlisted tools still run when they need no approval. Restricting the tool set takes --tools, blocking takes --disallowedTools, and under bypassPermissions the allow list has no effect.

Was this useful to you?

Claude Code --allowedTools Not Working? Why Unlisted Commands Still Run · Firsthand.today