downloadAsset
Download YouTube videos, audio tracks, or thumbnails to local storage with format selection and size limits. Stores media files for offline access and returns file path information.
Instructions
Download a YouTube video, audio track, or thumbnail to local storage. Returns asset manifest entry with file path. Does NOT perform visual indexing — this is honest file storage. [~30-120s, downloads media]
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": {
"videoIdOrUrl": "<videoIdOrUrl>",
"format": "<format>"
},
"name": "downloadAsset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoIdOrUrl | Yes | YouTube video ID or URL | |
| format | Yes | What to download. best_video = highest quality video+audio, best_audio = audio only, thumbnail = YouTube thumbnail image, worst_video = smallest video for previews | |
| maxSizeMb | No | Max download size in MB (default 500) |