Claude Code Permission Matcher Syntax: Control Commands and Files with Tool(specifier)
Summary. Permissions in Claude Code aren’t a simple on/off. Inside permissions in settings.json, you split rules into three lanes — allow, ask, and deny — and use a matcher syntax that writes a scope inside parentheses per tool, like Bash(…), Read(…), and Edit(…). Master this syntax and you can do precise control such as “auto-allow … Read more