What
A Jupyter notebook is a file that mixes code, results and notes. When Claude edits one with the NotebookEdit tool and the original file ended with a newline, Claude Code now adds that newline back after saving.
Why
Before, editing a notebook could remove its final newline. That showed up as an unwanted change in version control tools such as git.
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 Create custom subagents.
The second filter applies to subagents running in the background. `Agent` and `ExitPlanMode` follow the first filter's conditions wherever the subagent runs. A background subagent keeps every MCP tool, and [`SubagentHandback`](https://code…sub-agents 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 Create custom subagents.