reset_kernel
Clear all variables and state from a Jupyter kernel while keeping the same ID for continued use.
Instructions
Reset a Jupyter kernel by clearing all variables and state while keeping the same ID.
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": {
"kernel_id": "<kernel_id>"
},
"name": "reset_kernel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernel_id | Yes | ID of the kernel to reset (WARNING: This will clear all variables and state) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernel_id | Yes | ||
| success | Yes | ||
| message | Yes | ||
| timestamp | Yes | ||
| error | No |