get_video_transcript
Extract the full spoken transcript of a YouTube video as plain text. Supports language selection with automatic fallback to the best available captions.
Instructions
Download the full spoken transcript of a YouTube video as clean plain text using yt-dlp — no API credentials required. Tries manual English captions first (or specified language_code), then auto-generated, then falls back to the first available language. Returns concatenated plain text plus metadata about which language and caption type was used. Ideal for content research without consuming YouTube API quota.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | The ID of the YouTube video to download the transcript for | |
| language_code | No | Preferred language code (e.g., 'en', 'es', 'fr', 'ja'). Defaults to English if not specified, then falls back to first available language. | |
| prefer_manual | No | If true (default), prefer manually created captions over auto-generated ones when both are available. |