Search the documentation
2 pages for claude_code_restricted.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code changelog
Claude Code CLI · in the page
changelog
…2.1.248" description="August 27, 2026"> * Added `--restricted` (or `CLAUDE_CODE_RESTRICTED=1`): removes the built-in tools that run commands or code and `WebFetch` (unless named in `--tools`), keeps…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…ent only, is ignored from every file; requires v2.1.234 or later. * [`CLAUDE_CODE_RESTRICTED`](/docs/en/env-vars#variables), which Claude Code reads from the launch environment only, is ignored from e…