ipynb_update_metadata
Update Jupyter Notebook metadata by merging a dictionary into notebook or specific cell metadata. Provide file path, metadata, and optional cell index to modify.
Instructions
Update Jupyter Notebook (.ipynb) or cell metadata.
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred) metadata: Metadata dictionary to merge cell_index: Index of cell (None for notebook metadata)
Returns: Dict with 'success' or 'error' key
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | Yes | ||
| cell_index | No | ||
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||