transcript_youtube_fetch
Fetch a YouTube video's transcript as plain text or subtitles. Supports language selection, auto-generated captions, and translation.
Instructions
Fetch the transcript for a YouTube video and return it rendered as text. Read-only. Mirrors omni-dev transcript youtube fetch. format is txt (default, one cue per line), srt, vtt, or json. lang defaults to en (prefix fallback: en matches en-US). Set auto = true to allow auto-generated (ASR) captions when no manual track matches; set translate to request a machine-translated track in that language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL or bare 11-character video ID. | |
| auto | No | Allow falling through to auto-generated (ASR) captions when no manual track matches. Defaults to `false`. | |
| lang | No | Preferred caption language (e.g. `en`, `en-US`). Prefix fallback applies (`en` matches `en-US`). Defaults to `en`. | en |
| format | No | Output rendering. Defaults to `txt`. | |
| translate | No | Synthesise a translated track in this target language when no native track matches. |