Transcribe a recording
transcribe_audioTurn speech in a recording into text, in 99 languages. The audio is transcribed by AssemblyAI. A tag spoken first with a pause ("To do, call the bank") comes back written ("todo: call the bank"). To save it as a note in one step, use add_voice_note.
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 |
|---|---|---|---|
| keywords | No | Names or rare words in the recording, spelled as they should be written. | |
| language | No | The spoken language as a code, e.g. en, de, ja. Leave out to detect it. | |
| audio_url | No | An https link to the recording (WAV, M4A, MP3, FLAC, OGG, WebM and most other audio or video formats). | |
| upload_id | No | The upload_id from upload_audio, once the file has been PUT to its upload_url. | |
| audio_base64 | No | The recording itself, base64-encoded, up to 2 MB (a few minutes of compressed audio). For a larger file, use upload_audio and pass upload_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | What was said. Empty when no speech was heard. | |
| seconds | Yes | Length of the recording. | |
| language | Yes | Detected language code, e.g. en. |