transcribe_audio
Turn an audio recording into text via Whisper. Give it EITHER 'url' (fetched server-side — a pre-signed link works, no auth is sent) OR 'base64'. Use it for voicemail from the phone system, call recordings and voice notes: those arrive as sound, and guessing what was said is not an option. Optional 'language' (ISO-639-1 like 'de') skips auto-detection and is more reliable on short clips; optional 'prompt' is a few words of context that stop Whisper from mangling proper nouns (company names, people). Returns the transcript plus duration and detected language. Limit is 25 MB per file — split longer recordings. Whisper is OpenAI-only: a tenant on Ollama falls back to the environment key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "transcribe_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Address of the audio file. Fetched by the server; pre-signed links are fine. | |
| model | No | Default whisper-1. | |
| base64 | No | The audio itself, base64. A data: prefix is stripped. | |
| prompt | No | Context words for names and jargon. | |
| filename | No | Name with extension, e.g. 'voicemail.mp3'. Whisper derives the format from it — without one it guesses. | |
| language | No | ISO-639-1, e.g. 'de'. Omit to auto-detect. |