ipynb_append_cell
Add a new code, markdown, or raw cell to the end of an .ipynb file by providing content and cell type, returning the new cell's index.
Instructions
Append cell to end of a Jupyter Notebook (.ipynb).
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred) content: Cell content (provide as raw string, no additional escaping needed) cell_type: Type of cell ('code', 'markdown', 'raw')
Returns: Dict with 'success' and 'cell_index' or 'error' key (0-based index of new cell)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| cell_type | No | code | |
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||