transcribe_to_file
Transcribe audio recordings and export the text to a subtitle or text file. Specify the output path and format (SRT, VTT, or TXT) to generate a readable transcript.
Instructions
[EXPERIMENTAL] Transcribe audio and export to a subtitle or text file. Requires separate setup — see installation guide.
ALWAYS tell the user where the file will be saved BEFORE starting. If user doesn't specify a path, call get_default_export_folder to get a real path. NEVER guess paths like /home/user/... — always use absolute Windows paths like C:\Users\Name\Documents\transcript.srt
Runs in BACKGROUND — returns a job_id immediately. Use check_transcription_status to monitor progress.
Language auto-detection can occasionally misidentify the language (background
music, noise, a short/ambiguous clip) and transcribe genuinely-English audio
in the wrong script entirely. If you already know the audio's language from
context, pass language explicitly (e.g. "en"), or set task="translate" to
force English output regardless of the spoken language. Retry with THIS SAME
tool and the corrected language/task — use a new path since an existing file
at the same path is rejected below.
Args: path: Absolute path for the output file (e.g. "C:/Users/You/Documents/transcript.srt") format: Output format - "srt", "vtt", or "txt" model_size: Whisper model - "tiny", "base", "small", "medium", "large-v3" language: ISO language code (e.g. "en") or None for auto-detect task: "transcribe" (spoken language) or "translate" (always English)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| task | No | transcribe | |
| format | No | srt | |
| language | No | ||
| model_size | No | small |