transcribe_audio
Transcribe audio files to text using OpenAI Whisper, converting voice messages from channels into readable text for processing.
Instructions
Transcribe an audio file to text via OpenAI Whisper.
Use this after download_attachment on a channel voice/audio
attachment to get the user's actual spoken message as text.
Args: file_path: Absolute or relative path to the audio file (e.g. /home/.../STATE_DIR/inbox/voice-123.ogg). Supported formats: .ogg .mp3 .m4a .mp4 .wav .webm .flac.
Returns: Transcribed text. May be empty for silent audio.
Errors are returned as MCP isError responses with the exception type and message (FileNotFoundError, ValueError for >25 MB, or RuntimeError for API/config failures).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |