transcribe_audio
Transcribes audio from videos that have no captions using local Whisper speech-to-text. Use as a fallback when transcript retrieval fails, converting YouTube audio into text, timestamps, SRT, VTT, or JSON.
Instructions
Speech-to-text fallback for videos with NO captions.
Downloads the audio with yt-dlp and transcribes it locally with Whisper.
Requires pip install '.[whisper]' and the ffmpeg binary on PATH.
This is slow (minutes for a long video) - only use it when get_transcript fails.
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": {
"video": "<video>"
},
"name": "transcribe_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube URL (watch, youtu.be, /shorts/, /live/, /embed/) or an 11-character video ID. | |
| format | No | Output format: text | timestamped | markdown | srt | vtt | json (default: text). | timestamped |
| language | No | BCP-47 caption language code, e.g. 'en', 'fr', 'es', 'de', 'ja'. Empty = server default ('en'). | |
| model_size | No | Whisper model size: tiny | base | small | medium | large-v3 (default: base). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |