comfy_queue_prompt
Queue a ComfyUI workflow for execution. Configure priority, metadata, and partial execution targets, then receive a structured queue acknowledgment.
Instructions
Queue a workflow for execution. Returns structured QueueAck.
Args: workflow: Workflow dict to queue front: If True, insert at front of queue instead of back workflow_id: Optional stable workflow UUID for ComfyUI job metadata workflow_version_id: Optional workflow-version UUID partial_execution_targets: Optional output node IDs to execute extra_data: Optional metadata to attach to the queued prompt
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflow": "<workflow>"
},
"name": "comfy_queue_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| front | No | ||
| workflow | Yes | ||
| extra_data | No | ||
| workflow_id | No | ||
| workflow_version_id | No | ||
| partial_execution_targets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| prompt_id | No | ||
| upload_map | No | ||
| node_errors | No | ||
| queue_number | No | ||
| auto_snapshot | No | ||
| queue_position | No | Deprecated: ComfyUI does not return an ordinal queue position |