mm_query_video_task
Retrieve the progress of a video generation task using its task ID, and download the MP4 file to a specified output path when the task finishes.
Instructions
查询视频生成任务;成功后下载 MP4 到本地。
Args: task_id: mm_generate_video 返回的任务 ID。 output_path: 可选保存路径(默认 outputs/videos/)。
Returns: str: 任务仍处理中时返回当前状态;成功后返回视频文件路径。
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": {
"task_id": "<task_id>"
},
"name": "mm_query_video_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |