interrupt_kernel
Interrupt an active IPython kernel with SIGINT to halt long-running code or infinite loops and regain control.
Instructions
Interrupt the current kernel execution by sending SIGINT.
Useful for stopping long-running code or infinite loops.
Returns: Interrupt status message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |