videoStatusTool
Check the status of a video generation started with 'generateVideoTool', using the jobId it returned. Generating a video takes a few minutes: while the status is "pending", wait about 30 seconds and call again. When the status is "completed" the result contains the hosted video url, which can be used as a post attachment. When the status is "failed" the result contains the error message.
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": {
"jobId": "<jobId>"
},
"name": "videoStatusTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The jobId returned by generateVideoTool |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| error | No | ||
| status | No |