ipynb_delete_cell
Delete a cell at a specified index from a Jupyter Notebook (.ipynb) file. Provide the notebook path and cell index to remove the cell and receive the updated cell count.
Instructions
Delete cell at specified index in a Jupyter Notebook (.ipynb).
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred) cell_index: Index of cell to delete (0-based indexing)
Returns: Dict with 'success' and 'new_cell_count' or 'error' key
Note: Indices of cells after the deleted cell will shift by -1
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_index | Yes | ||
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||