notebook_edit_cell_metadata
Merge a JSON object into a Jupyter notebook cell's metadata to add or remove pipeline stage tags like 'preprocess'.
Instructions
Merge a JSON object into a cell's metadata.
Useful for adding or removing pipeline stage tags: updates = '{"tags": ["preprocess"]}'
Args: notebook_path: Path to the .ipynb file, relative to the workspace root. cell_index: Zero-based index of the target cell. updates: JSON string with metadata keys to merge in. checkpoint: Write a backup before editing (default: true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | ||
| cell_index | Yes | ||
| checkpoint | No | ||
| notebook_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |