comfyui_cancel
Cancel a ComfyUI job by prompt ID to remove pending tasks or interrupt active generations. Without an ID, stops the currently running job.
Instructions
Cancel a job: removes it from the queue if pending, interrupts it if running. Without prompt_id, interrupts whatever is running now.
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_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||