Add notebook cell metadata editing capabilities to NotebookEdit tool

Resolved 💬 3 comments Opened Jul 28, 2025 by mgintalas Closed Jan 5, 2026

Feature Request: Notebook Cell Metadata Editing

### Problem
Currently, the NotebookEdit tool can only modify cell content but not cell metadata (like tags, execution_count, etc.). This limits the ability to:

  • Tag cells as "parameters" for Papermill integration
  • Modify cell metadata for notebook organization
  • Set up automated notebook workflows

### Proposed Solution
Extend the NotebookEdit tool with optional metadata parameters:

  • metadata: Object to set/update cell metadata
  • add_tags: Array of tags to add to cell
  • remove_tags: Array of tags to remove from cell

### Example Usage
```python
NotebookEdit(
notebook_path="/path/to/notebook.ipynb",
cell_id="abc123",
add_tags=["parameters"],
metadata={"custom_field": "value"}
)

Use Case

Working with parameterized notebooks where cells need proper tagging for tools like Papermill.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗