transcribe_file
Transcribe a local audio or video file and get JSON output with full text, detected language, and timestamped segments. Supports local Whisper or OpenAI API via an optional key.
Instructions
Transcribe a local audio or video file and return JSON with text and timestamps.
Uses local Whisper by default. Set api_key (or OPENAI_API_KEY) to use the OpenAI speech API instead. The file must be readable by the MCP server.
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 |
|---|---|---|---|
| task | No | transcribe | |
| model | No | small | |
| prompt | No | ||
| api_key | No | ||
| language | No | Auto-Detect | |
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |