audio_transcribe
Transcribe local audio files (m4a, mp3, wav, ogg, flac) into text with faster-whisper. Get segmented and full transcripts, optionally translated.
Instructions
本地音频转写。使用 faster-whisper small 模型(CPU-only,INT8 量化)将音频文件转为文字。支持 m4a/mp3/wav/ogg/flac 等常见格式。返回分段文本和全文。
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": "audio_transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | transcribe(原语言输出,默认)或 translate(翻译为英文) | |
| language | No | 语言代码(如 'zh' 中文, 'en' 英文),不指定则自动检测 | |
| file_path | Yes | 音频文件的绝对路径,如 D:\recordings\interview.m4a |