get_youtube_transcript
Fetch the full text transcript of a YouTube video. Accepts a YouTube URL (watch, youtu.be, shorts, embed) or a bare 11-character video ID, and returns the transcript as plain text with title and metadata. Optionally pass a BCP-47 language code to select a specific caption track. Very long transcripts (multi-hour videos) come back in parts of up to 120,000 characters: when there is more, the result ends with a note giving the offset to pass on the next call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Optional BCP-47 language code, e.g. "en", "zh-CN", "es". Omit for the default track. | |
| video | Yes | YouTube video URL or 11-character video ID | |
| offset | No | Optional. Character position to continue a long transcript from. Use the value given in the note at the end of the previous part. Omit to start from the beginning. |