jupyter_connect_notebook
Connect to a Jupyter notebook kernel, creating a new session if none exists, and obtain the kernel ID for subsequent code execution.
Instructions
Connect to a notebook's kernel (create session if needed).
This gets an existing kernel session for the notebook or creates a new one. Use the returned kernel_id for subsequent execute_code calls.
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": {
"notebook_path": "<notebook_path>"
},
"name": "jupyter_connect_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_path | Yes | Path to the notebook |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |