get_transcript
Fetch a YouTube video's transcript or subtitles for reading, summarizing, or quoting. Works for any public video without sign-in; accepts a video ID or any YouTube URL.
Instructions
Fetch the transcript/subtitles of a YouTube video for reading, summarizing or quoting. Works for any public video without sign-in. Accepts a video ID or any YouTube URL. Long transcripts are truncated at max_chars — request a later start_seconds to continue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Preferred caption language code, e.g. de or en. Defaults to the video's default track. | |
| video | Yes | Video ID or URL (watch, youtu.be, shorts, embed) | |
| format | No | text = plain prose (cheapest, best for summarizing); timestamped = [mm:ss] lines for citing moments | text |
| max_chars | No | Character budget for the transcript body. Set 0 for no limit. | |
| end_seconds | No | Only include cues at or before this timestamp | |
| translate_to | No | Machine-translate the track into this language code, e.g. de. Only for translatable tracks. | |
| prefer_manual | No | Prefer human-written captions over auto-generated ones when both exist | |
| start_seconds | No | Only include cues at or after this timestamp | |
| include_metadata | No | Prefix the output with title, channel, duration and track info |