Permission rules decide what Claude may do without asking. For a session where I want some tools gone altogether, there is a stricter option.
--tools restricts the built-in tools Claude can use. Give it a comma-separated list, "" to disable all of them, or "default" for the default set.
claude --tools "Read,Grep"
A session like that can look through a codebase but cannot edit files or run shell commands. That suits questions about code you have just downloaded. It differs from --allowedTools, which lists tools that run without a permission prompt, and the reference points to --tools for restricting which tools are available.
The flag does not affect MCP tools. To deny those too, the reference suggests --disallowedTools "mcp__*":
claude --tools "Read,Grep" --disallowedTools "mcp__*"
The reference says a bare tool name in --disallowedTools removes the matching tools from Claude’s context, and that "*" removes every tool. On macOS, Linux and WSL, the default set leaves out Glob and Grep, which is why I name Grep explicitly above.
One tool stays: a list that omits EndConversation does not remove it, and "" removes it only when no MCP tools remain. With fewer tools Claude also does less, so this is for looking around and not for working.
Further reading: Claude Code CLI reference