download_stream
Download live streams or HLS/m3u8 streams directly from a URL. Configure format, duration, and output location.
Instructions
Download a live stream or m3u8/HLS stream using yt-dlp.
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": "download_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the stream to download | |
| format | No | Stream format preference | best |
| duration | No | Duration in seconds to capture (for live streams) | |
| outputDir | No | Directory to save the stream (default: current directory) | |
| outputName | No | Output filename template (without extension) | |
| hlsUseMpegts | No | Use MPEG-TS container for HLS streams | |
| additionalArgs | No | Additional yt-dlp arguments (space-separated) |