speech_to_text
Transcribe audio files to text, with optional speaker diarization and language hints.
Instructions
Transcribe an audio file to text (ElevenLabs Scribe).
Args: audio_file_path: path to the audio file to transcribe. model_id: STT model id (default "scribe_v1"). language_code: optional ISO language hint. diarize: annotate which speaker said what. tag_audio_events: tag non-speech events like (laughter). num_speakers: hint for the expected number of speakers.
Returns the transcription result as JSON (text, language, words with timings).
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_file_path": "<audio_file_path>"
},
"name": "speech_to_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diarize | No | ||
| model_id | No | scribe_v1 | |
| num_speakers | No | ||
| language_code | No | ||
| audio_file_path | Yes | ||
| tag_audio_events | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |