insert_cell
Add code or markdown cells to Jupyter notebooks at specific positions to organize content and structure computational workflows.
Instructions
Insert a cell to specified position from the currently activated notebook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_index | Yes | Target index for insertion (0-based), use -1 to append at end | |
| cell_type | Yes | Type of cell to insert | |
| cell_source | Yes | Source content for the cell |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Success message and the structure of its surrounding cells |