use_notebook
Activate a Jupyter notebook by connecting to an existing one or creating a new one, enabling subsequent cell operations.
Instructions
Use a notebook and activate it for following cell operations. All cell operations will be performed on the currently activated notebook. Activate new notebook will deactivate the previously activated notebook. Reactivate previously activated notebook using same notebook_name and notebook_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Notebook operation mode: 'connect' to connect to existing and activate it, 'create' to create new and activate it | connect |
| kernel_id | No | Specific kernel ID to use (will create new if skipped) | |
| notebook_name | Yes | Unique identifier for the notebook | |
| notebook_path | Yes | Path to the notebook file, relative to the Jupyter server root (e.g. 'notebook.ipynb') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Success message with notebook information |