Download MP3 from YouTube
download_mp3Download audio from YouTube or YouTube Music as MP3 files. Saves to a local folder; returns existing files unless force is set.
Instructions
Download the audio of a YouTube or YouTube Music video as an MP3 file. Files are saved to /root/Music/yt-audio-mcp. Already-downloaded videos are returned from disk unless force=true.
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_mp3"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | youtube.com / music.youtube.com / youtu.be link, or a bare 11-character video ID | |
| force | No | Re-download even if the file already exists | |
| bitrate | No | "0" = best VBR (default), or a fixed CBR bitrate | 0 |