download_video
Downloads a video and available subtitles to a temporary folder using a provided URL or download ID. Enable optional frame extraction to capture screenshots for visual scene analysis.
Instructions
Download a video and available subtitles to an identifiable temporary folder. Supply a URL or downloadId. Inspect and download videos with subtitles. Frame extraction is optional and should be enabled only for visual scene analysis, especially for long videos where it adds processing time and compute cost. Use low resolution and a small frame budget for an overview.
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": {
"extractFrames": "<extractFrames>",
"frameMode": "<frameMode>",
"frameMaxCount": "<frameMaxCount>",
"frameMaxHeight": "<frameMaxHeight>",
"frameChangeThreshold": "<frameChangeThreshold>"
},
"name": "download_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| frameFps | No | Legacy sampling rate. Use frameIntervalSeconds for new calls. | |
| frameMode | Yes | changes selects adaptive screenshots, interval distributes them across the video. storyboard and one_per_second are legacy aliases. keyframes is a legacy codec-keyframe mode. | changes |
| maxHeight | No | Maximum downloaded video height. Omit for best quality. | |
| downloadId | No | ||
| extractFrames | Yes | Optional screenshots for visual scene analysis. | |
| frameMaxCount | Yes | Maximum images across the whole video. | |
| frameMaxHeight | Yes | Maximum PNG height without upscaling. | |
| frameChangeThreshold | Yes | Nearby grayscale similarity threshold. Higher removes more similar images. | |
| frameIntervalSeconds | No | Candidate spacing in seconds. Default 0 selects automatically. |