9 pages for --restricted.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…th match the [top-level CLI flags](/docs/en/cli-reference.md). Pass `--restricted` to start every session you dispatch from the view in [restricted mode](/docs/en/cli-reference.md#cli-flags), as if e…
Claude Code changelog
Claude Code CLI · in the page
changelog
…* Fixed `claude --help` naming a removed tool in its description of `--restricted` * Fixed `claude agents` not refreshing any pull request's status when the data for one of them came back incomplete…
CLI reference
Claude Code CLI · in the page
cli-reference
…on --output-format stream-json --verbose --replay-user-messages` | | `--restricted` | Start in restricted mode. Use it when an evaluation harness drives `claude` on a…
Error reference
Claude Code CLI · in the page
errors
…-flag-and-its-file-form) | | `Cloud sessions cannot be created from a --restricted session` | [Command-line errors](#cloud-sessions-cannot-be-created-from-a-restricted-session) | | `Cloud sessions are…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…Claude Code refuses `bypassPermissions` in a session you start with [`--restricted`](/docs/en/cli-reference#cli-flags). `--restricted` requires Claude Code v2.1.248 or later. The first time you start…
Configure permissions
Claude Code CLI · in the page
permissions
…erence#permissions-blockreadsoutsideworkingdirectories) on, or in a [`--restricted`](/docs/en/cli-reference#cli-flags) session, these attachments are also left out when they come from a path where tha…
Tools reference
Claude Code CLI · in the page
tools-reference
…ions.md#match-all-uses-of-a-tool), the `--disallowedTools` flag, or [`--restricted`](/docs/en/cli-reference#cli-flags) removes `Bash` from the session. * A [subagent](/docs/en/sub-agents.md#available-…
Week 35 · August 24–28, 2026
Claude Code CLI · in the page
whats-new/2026-w35
…valuation harness drives `claude` on a shared machine. Start it with `--restricted` or set `CLAUDE_CODE_RESTRICTED=1`. Claude Code also removes `WebFetch`, confines the file tools to the working direc…
What's new
Claude Code CLI · in the page
whats-new/index
…es wrong in a session, which you review and send from `/feedback`; **`--restricted`** starts a session without the command-running tools or your user and project settings, for evaluation harnesses on…