Wait for the next decision point
wait_for_productionLong-polls (up to 55 s per call) until the production needs attention, fails or reaches a given state. Call repeatedly while generation runs; video batches can take many minutes because of the shared queue and cooldown.
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": {
"productionId": "<productionId>"
},
"name": "wait_for_production"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| untilState | No | Comma-separated target states, e.g. awaiting_approval,completed. | |
| productionId | Yes | Production ID (from list_productions or create_production). | |
| timeoutSeconds | No |