wait_for_jobs
Wait for multiple queued ComfyUI jobs to complete and return all results, enabling parallel execution.
Instructions
Wait for multiple queued jobs to complete and return all results.
Use this after queueing multiple jobs with queue_only=true to wait for all of them at once, enabling parallel execution.
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": {
"prompt_ids": "<prompt_ids>"
},
"name": "wait_for_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max seconds to wait per job. Default: 0 (use server default). Set higher for slow jobs like video generation. | |
| prompt_ids | Yes | Comma-separated list of prompt IDs to wait for. Example: "abc123,def456,ghi789" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||