cancel_job
Interrupt the currently running ComfyUI job. Optionally target a specific job by prompt_id to cancel it.
Instructions
Interrupt/cancel the currently running ComfyUI job. Optionally target a specific running job by prompt_id.
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": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | No | Optional prompt_id to target a specific running job. If omitted, interrupts the current job. |