cell_add
Add a new cell to any Jupyter notebook. Specify the cell content, type (code, markdown, or raw), and insertion position.
Instructions
Add a new cell to a notebook.
name: notebook name (with or without .ipynb)
source: the cell content / code
cell_type: 'code', 'markdown', or 'raw' (default: 'code')
position: index to insert at (0 = first cell, -1 = append at end) Returns the new cell's ID and position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| source | Yes | ||
| cell_type | No | code | |
| position | No |