transcribe_audio
Transcribe an audio file into text directly from your machine—no upload needed. Supports Arabic and optional speaker labels.
Instructions
Transcribe ONE audio file and return its text.
Arabic is fully supported: return the Arabic text as transcribed, and do not translate it unless the user asks.
Reads the file directly from this machine, so a path is all that's needed — no uploading, copying, or encoding. Pass exactly one audio source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | 'gpt-transcribe' (default) is OpenAI's recommended model and the cheapest accurate one. Use 'gpt-4o-transcribe-diarize' to label who is speaking — it is the only model that does. | gpt-transcribe |
| prompt | No | Names or terms likely in the audio, to steer spelling. Ignored by gpt-4o-transcribe-diarize, which rejects prompts. | |
| filename | No | Filename to report for audio_base64. Its extension tells OpenAI the format, so keep it accurate (voice.ogg, note.mp3, clip.wav). | audio.mp3 |
| language | No | ISO-639-1 hint such as 'ar' or 'en'. Leave unset to auto-detect; set it only when detection gets the language wrong. | |
| audio_url | No | Public http(s) URL to download and transcribe. | |
| file_path | No | Path to the audio file on THIS machine. Absolute, relative, or starting with ~. This is the normal way to use the tool — the server runs locally, so no upload is involved. Pass exactly one of file_path, audio_url, audio_base64. | |
| audio_base64 | No | Base64-encoded audio, for short clips. Prefer file_path: base64 passes through the conversation and hits client size limits fast. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |