move_queued_job
Move a pending ComfyUI queue job to the front or back by removing and re-enqueuing its workflow, assigning a new prompt ID.
Instructions
Move a PENDING ComfyUI queue item to the front or back by removing it and re-enqueuing its saved workflow payload. The job receives a NEW prompt_id; the old prompt_id is removed. Running jobs cannot be moved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | Yes | Where to requeue the job. | |
| prompt_id | Yes | The prompt_id of a pending queue item. |