agnes_video_wait
Poll an asynchronous video generation task until completion or timeout, then return the final video URL.
Instructions
Poll an async video task (by video_id) until it reaches a terminal state (completed/failed) or times out. Returns the final result including the video URL when completed. Video generation can take tens of seconds to minutes.
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": {
"video_id": "<video_id>"
},
"name": "agnes_video_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | The video_id returned by agnes_video_create. | |
| model_name | No | ||
| interval_ms | No | Poll interval in ms. Default 5000. | |
| timeout_ms | No | Max wait in ms. Default 600000 (10 min). |