capture_video_download
Download videos from a URL in a chosen format and resolution, including HLS streams, and return the job ID and saved file path for further processing.
Instructions
Download a video from a URL in a specified format and resolution. Returns the job ID and file path to the downloaded video. Supports HLS (.m3u8) URLs natively via FFmpeg.
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": {
"url": "<url>"
},
"name": "capture_video_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Video URL to download | |
| async | No | Return a job immediately instead of waiting for the result | |
| preset | No | Download quality preset (default: best) | |
| headers | No | Optional HTTP headers (e.g., Referer, Cookie) for protected streams | |
| merge_format | No | Output container format | mp4 |
| format_selector | No | Advanced: raw yt-dlp format selector or HLS variant .m3u8 URL, instead of preset |