cancel_job
Stop the currently running ComfyUI job. Interrupts execution and discards partial results; optionally target a specific job by prompt_id. Does not affect queued jobs.
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. |