Prompt capture
NotebookEdit tool description
27 model strings share this prompt, byte for byte.
1Replaces, inserts, or deletes a single cell in a Jupyter notebook (.ipynb file).
3Usage:
4- You must use the Read tool on the notebook in this conversation before editing — this tool will fail otherwise.
5- `notebook_path` must be an absolute path.
6- `cell_id` is the `id` attribute shown in the Read tool's `<cell id="...">` output. It is required for `replace` and `delete`.
7- `edit_mode` defaults to `replace`. Use `insert` to add a new cell after the cell with the given `cell_id` (or at the beginning of the notebook if `cell_id` is omitted) — `cell_type` is required when inserting. Use `delete` to remove the cell.