Claude Code's file tools can refuse edits outside your working directories

A new setting makes Write, Edit, and NotebookEdit refuse paths outside your working directories, in every permission mode.

Producto
Claude Code
Compartir

Claude Code's Write, Edit, and NotebookEdit tools can now refuse paths outside your working directories, in every permission mode. Set permissions.blockWritesOutsideWorkingDirectories and those three tools stay inside the project. Shell commands, MCP tools, and hooks aren't covered. Use sandboxing to limit where shell commands write.

Reads already have a matching setting. You'll need Claude Code 2.1.314 or later, and an organization can deploy it in managed settings.

Actualizaciones anteriores

30 oct 2026
29 oct 2026
28 oct 2026