Check Video Status
check_video_statusChecks a video generation job's status. Upon completion, it downloads the video to your specified directory and returns the absolute file path.
Instructions
Check a previously started video generation job (from generate_video's polling_url or video id). If the job has completed, downloads the video, saves it to disk, and returns the absolute path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_video_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | No | Alternatively, the raw video job id. | |
| output_dir | No | Directory to save into (absolute, or ~ for home). Defaults to the configured output directory. | |
| polling_url | No | The polling_url returned by generate_video. | |
| filename_prefix | No | Short label used in the saved filename, e.g. 'hero-banner'. Sanitized to letters, digits, dashes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute path of the saved video, when completed | |
| status | Yes | completed | pending | in_progress | timeout | failed | error | |
| message | No | ||
| video_id | No | ||
| polling_url | No | Pass to check_video_status to resume waiting |