save_voice
Save a WhatsApp voice note to disk and optionally transcribe it with Whisper, returning the transcript.
Instructions
Save a single voice note (.ogg) to disk. Same parameter contract as save_image. Optionally pass transcribe:true to also run Whisper transcription on the saved file (requires OpenAI API key in api-key.txt). Returns transcript inline when transcribed successfully. Same error-code set as save_image, plus: transcribe_failed, no_api_key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msgId | Yes | ||
| chatId | Yes | ||
| folder | No | ||
| filename | No | ||
| timeoutMs | No | Per-download timeout. Default 60s for voice. | |
| transcribe | No | If true and no cached transcript exists, transcribe via Whisper after saving. | |
| skipIfExists | No |