{"version":"2.1.334","anchor":"notebookedit-stale-file-refusals-old-cell-type-and-diff-s","canonical_anchor":"notebookedit-stale-file-refusals-old-cell-type-and-diff-s","heading":"Notebook edits report the old cell type and leave it empty on delete","tier":"notice","area":"Notebooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/notebookedit-stale-file-refusals-old-cell-type-and-diff-s","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Notebook edits report the old cell type and leave it empty on delete\n\nThe NotebookEdit tool now reports the cell's previous type, leaves the type empty on delete, and takes a snapshot after saving\n\n**What**\n\nThe NotebookEdit tool is how Claude edits Jupyter notebooks. It has these changes:\n\n- The result now includes the cell's previous type.\n\n- When a cell is deleted, the cell type is now left empty. It used to default to \"code\".\n\n- The \"File has not been read yet\" and \"File has been modified since read\" errors are now marked as file refusals.\n\n- After a successful save that was not made remotely, Claude Code takes a snapshot of the file.\n\n**Why**\n\nThe information Claude Code gets back from a notebook edit, and the way it handles stale-file errors, are now different.\n\n- Area: Notebooks\n- Names: `NotebookEdit`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}