kernel_restart
Restart the IPython kernel to clear all variables, imports, and state. Pending executions are discarded while the connection is preserved, so no reconnection is needed before running new code.
Instructions
Restart the kernel, clearing all variables, imports, and state.
Pending executions are discarded. The kernel process is replaced but the connection is preserved — no need to call kernel_start again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |