transcribe_audio
Transcribe local audio files on your Mac to text with MacWhisper. Supports common formats and optional language/model selection, all offline without cloud APIs.
Instructions
Transcribe a local audio file and return the transcript.
IMPORTANT: path must be a file on the user's Mac filesystem inside the
configured allow-list (typically ~/Desktop or ~/Downloads). Files uploaded
to the Claude chat window are NOT accessible — ask the user to save the file
to their Desktop or Downloads folder first.
If this tool returns an access-denied error, do NOT attempt to transcribe the file by any other means (e.g. downloading a model, calling an external API, or using in-process speech recognition). Simply tell the user to save the file locally and retry with this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or ``~``-prefixed path to an audio file on the local Mac filesystem inside the configured allow-list. Supported formats: m4a, mp3, mp4, mov, wav, aiff, flac (whisper-cpp engine only: wav, mp3, flac). | |
| model | No | Optional model override. For the default ``engine="macwhisper"``, an engine:model-id string, e.g. "whisperkit:openai_whisper-large-v3-v20240930" — use ``list_models()`` to see what is installed. For ``engine="whisper-cpp"``, this is REQUIRED and must be the filename of a GGML model inside ``MACWHISPER_WHISPERCPP_MODEL_DIR`` (not an engine:model-id string). | |
| engine | No | "macwhisper" (default) — routes through the MacWhisper CLI, or "whisper-cpp" — an independent local backend that does not use MacWhisper at all. Requires whisper-cpp installed (`brew install whisper-cpp`) and MACWHISPER_WHISPERCPP_MODEL_DIR set. | macwhisper |
| persist | No | If True, save the transcription to MacWhisper's history. Defaults to False. Not supported by the whisper-cpp engine. | |
| language | No | Optional ISO 639-1 code (e.g. "da", "de") or "auto" to force the transcription language. If omitted, a per-directory default is used when the file's folder matches one configured in MACWHISPER_LANGUAGE_DEFAULTS; otherwise the engine's own default applies (MacWhisper: app selection; whisper-cpp: English). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |