sarvam_speech_to_text
Transcribe local WAV/MP3/OGG/FLAC audio to text in Indic languages and English, with optional auto-detection, timestamps, speaker labels, and transliteration/codemix modes.
Instructions
Transcribe a local audio file (WAV/MP3/OGG/FLAC). Saarika v2.5 default; Saaras v3 for translit/codemix/diarization.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audio_path": "<audio_path>"
},
"name": "sarvam_speech_to_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Saarika is the default transcriber. Saaras supports translit/codemix modes. | saarika:v2.5 |
| audio_path | Yes | Absolute path to a local audio file (WAV/MP3/OGG/FLAC). Max 30 seconds for sync. | |
| language_code | No | BCP-47 source language. "unknown" lets Sarvam auto-detect. | unknown |
| with_timestamps | No | ||
| with_diarization | No | Speaker labels (Saaras only). |