ipynb_reorder_cells
Reorder cells in a Jupyter Notebook (.ipynb) by providing a new index mapping that specifies the desired order.
Instructions
Reorder cells in a Jupyter Notebook (.ipynb) by providing new index mapping.
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred) new_order: List of indices in desired order (0-based indexing)
Returns: Dict with 'success' or 'error' key
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_order | Yes | ||
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||