You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.300,
ImprovementsSection of the release
Unclear Whether restricted mode still removes the REPL tool is not stated.
What
--restricted is a flag (an option typed after claude on the command line) that starts restricted mode, which removes the built-in tools that run commands or code. Its help text used to list them as Bash, PowerShell, REPL and the other code-running tools. It now lists Bash, PowerShell and the other code-running tools, without naming REPL.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up --restricted, on Error reference.### Cloud sessions cannot be created from a `--restricted` sessionerrorssee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether restricted mode still removes the REPL tool is not stated.
Anthropic's documentation agreesAnthropic's documentation has since written up --restricted, on Error reference.
Anthropic's release notes agreeFixed claude --help naming a removed tool in its description of --restricted