Download media
download_mediaDownload authorized media from a public URL as MP4 video or MP3 audio. Specify quality and confirm authorization to save the file locally.
Instructions
Download a complete authorized media item locally as MP4 video or MP3 audio. This writes a file and can use significant bandwidth and storage.
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_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP or HTTPS media page URL | |
| quality | No | 'best', a video height such as 1080p, or an audio bitrate such as 192k | best |
| media_format | No | Output media format | mp4 |
| confirm_authorized | No | True only after the user confirms they may download this media |