What
The NotebookEdit tool is how Claude edits Jupyter notebooks. It has these changes:
- The result now includes the cell's previous type.
- When a cell is deleted, the cell type is now left empty. It used to default to "code".
- The "File has not been read yet" and "File has been modified since read" errors are now marked as file refusals.
- After a successful save that was not made remotely, Claude Code takes a snapshot of the file.
Why
The information Claude Code gets back from a notebook edit, and the way it handles stale-file errors, are now different.
Names in the bundleNotebookEdit
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 since
Anthropic's documentation has since written up NotebookEdit, on Manage Claude Code in the terminal from the Enterprise Admin Console.
This example runs a program before Claude uses its Write, Edit, or NotebookEdit tool, and blocks the change if the program fails:third-party/claude-desktop/admin-console-claude-code see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up NotebookEdit, on Manage Claude Code in the terminal from the Enterprise Admin Console.