notebook_add_cell
Insert a new code, markdown, or raw cell after a specified index in a Jupyter notebook. Provide the notebook path, cell type, source content, and insertion index.
Instructions
Adds a new code or markdown cell after a specified index
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the notebook | |
| index | Yes | Index after which to insert the cell | |
| source | Yes | Source content for the new cell | |
| cell_type | Yes | Type of cell to add |