Skip to main content

Module notebook_edit

Module notebook_edit 

Source
Expand description

Notebook edit tool — edit Jupyter notebook (.ipynb) cells.

Supports three edit modes:

  • replace: Replace an existing cell’s content
  • insert: Insert a new cell at a position
  • delete: Delete a cell

Cells can be identified by cell_id (preferred) or cell_number (0-indexed).

Structs§

NotebookEditTool
Tool for editing Jupyter notebook cells.