fetch_media
Fetches audio from any media URL to a local file for downstream analysis, returning the file path, title, and duration. Requires no API key.
Instructions
Download the best audio from a video/audio URL to a local file using yt-dlp. Returns the local path plus title and duration. No API key required.
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": "fetch_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The media URL to download (any site yt-dlp supports). | |
| format | No | Output audio format (default: wav, which whisper.cpp prefers). |