ipynb_split_notebook
Split a Jupyter notebook into multiple files based on markdown headers or cell count to organize code.
Instructions
Split a Jupyter Notebook (.ipynb) into multiple files by criteria.
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred) output_dir: Directory for output files split_by: Split criteria ('markdown_headers' or 'cell_count')
Returns: Dict with 'success' and 'files_created' or 'error' key
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| split_by | No | markdown_headers | |
| output_dir | Yes | ||
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||