comfyui_interrupt
Interrupt a running ComfyUI workflow globally or by prompt ID. Stop active generation immediately to free resources or abort unwanted tasks.
Instructions
Interrupt the currently executing workflow.
Without prompt_id: global interrupt — stops whatever is running now.
With prompt_id: targeted — only interrupts if that prompt is the
running one. ComfyUI silently no-ops if prompt_id is queued but
not yet running.
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": "comfyui_interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |