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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "interrupt_kernel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |