cancel_job
Interrupt and stop the currently running ComfyUI job. Use to discard the partial result of an in-progress generation, optionally specifying a prompt_id.
Instructions
Interrupt the CURRENTLY RUNNING ComfyUI job, optionally only when its prompt_id matches. Stops in-progress execution — the partial result is discarded and not recoverable — and does NOT remove pending/queued jobs. Requires a reachable ComfyUI server. Use this for the job actively executing now; use cancel_queued_job to remove one specific PENDING job, or clear_queue to drop ALL pending jobs. Returns a confirmation (or a no-op status when nothing is running).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | No | Optional. If given, only interrupts the running job when its prompt_id matches; omit to interrupt whatever is currently running. |