models

Added --restricted mode for claude-code

10 de octubre de 2026 · Fuente original

New --restricted flag (or CLAUDE_CODE_RESTRICTED=1 env var) removes built-in command/code execution tools and WebFetch by default, while keeping file tools restricted to working directory. Provides enhanced security for sandboxed environments.

New --restricted flag (or CLAUDE_CODE_RESTRICTED=1 env var) removes built-in command/code execution tools and WebFetch by default, while keeping file tools restricted to working directory. Provides enhanced security for sandboxed environments.