Commands

--allowedTools

Command
claude --allowedTools "Read,Glob,Grep"

Restrict which tools Claude can use in the session.

When to use

You want Claude to explore or explain but not modify anything. Useful for audits or review.

Example

claude --allowedTools "Read,Glob,Grep" "audit the auth module"

Related commands