Notebooks
restart_notebook
Restart the kernel for a specific notebook.
Restart the kernel for a specific notebook.
destructive: yes
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
notebook_name | string | yes | — | Notebook identifier to restart |
Output
{
"properties": {
"result": {
"description": "Success message",
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "restart_notebookOutput",
"type": "object"
}Call it
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "restart_notebook",
"arguments": {
"notebook_name": "<notebook_name>"
}
}
}result = await session.call_tool("restart_notebook", arguments={"notebook_name": "<notebook_name>"})Source
Registered by the @mcp.tool decorator on restart_notebook in jupyter_mcp_server/server.py.
