recognize_file
Transcribe speech from a local audio file, automatically detecting the format from its file extension.
Instructions
Recognize speech from a local audio file. Auto-detects format from extension.
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": {
"file_path": "<file_path>"
},
"name": "recognize_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Recognition language (ru-RU, en-US, kk-KZ) | ru-RU |
| file_path | Yes | Absolute path to the audio file to recognize | |
| sample_rate | No | Sample rate in Hz — required for headerless .pcm/.alaw/.ulaw files (e.g. 16000, 8000) |