transcribe_file
Transcribe local audio and video files into text using Whisper. Supports MP3, MP4, WAV, and other FFmpeg-compatible formats; use async mode for files over 30 minutes.
Instructions
Transcribe a local audio/video file using Whisper.
Supports mp3, m4a, mp4, wav, flac, and other FFmpeg-compatible formats. For files over 30 minutes, use async_mode=true. Adjust segment_minutes for 1h+ files to reduce segment count.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Whisper model: tiny, base, small, medium, large-v3-turbo | large-v3-turbo |
| language | No | Language code: zh, en, ja, etc. | zh |
| file_path | Yes | Path to local audio/video file | |
| async_mode | No | If true, return task_id for long files | |
| segment_minutes | No | Audio segment length in minutes for splitting long files. Default 30. Increase for 1h+ files. |