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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ipynb_filepath": "<ipynb_filepath>",
"metadata": "<metadata>"
},
"name": "ipynb_update_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | Yes | ||
| cell_index | No | ||
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||