transcribe_audio
Convert audio and video files to text with automatic speaker detection. Use for meeting minutes, interviews, or any speech-to-text transcription.
Instructions
Transcribe an audio/video file to text using local Whisper. Automatically detects multiple speakers using pyannote and matches against registered voiceprints. Unknown speakers are labeled as "未知说话人1", "未知说话人2", etc.
Use this when the user provides an audio/video file and wants:
- Speech-to-text transcription
- Meeting minutes / meeting notes
- Interview transcription
- Any audio content converted to text
Args:
file_path: Absolute path to the audio/video file
model_size: Whisper model size (default: large-v3 for best Chinese support)
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": "transcribe_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| model_size | No | large-v3 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |