restart_notebook
Restart the kernel of a specified Jupyter notebook to clear all imported packages and variables, resolving module conflicts or memory issues.
Instructions
Restart the kernel of a specified Notebook, clear all imported packages and variables
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_name": "<notebook_name>"
},
"name": "restart_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |