job_status
Poll a video-generation job created by generate_video and save the finished video before the engine’s roughly 600-second result retention expires.
Instructions
Poll a vid_gen job created by generate_video (GET /sdcpp/v1/jobs/{id}) and save the finished video. The engine keeps results for ~600 s only.
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": {
"job_id": "<job_id>"
},
"name": "job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id returned by generate_video. | |
| output_dir | No | Where to save the video file. | |
| save_result | No | Save the file when completed (default true). |