duplicate_notebook
Duplicate a notebook tab to create a full copy of its cells and layout, placed right after the original, without leaving the current view.
Instructions
Duplicate a notebook tab. Copies every cell (SQL, mode, chart config) and the layout into a NEW notebook labelled " (copy)" placed right after the original; cell ids are regenerated and last-run results are cleared. The copy is ALWAYS made in the background — you never switch the user's active tab. The user sees a notification and opens it themselves; only call activate_notebook if they explicitly ask to be taken there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buffer_id | Yes | Source notebook buffer id (from <notebook_context> prefix). |