Get YouTube Transcript
get_youtube_transcriptUse this when the user shares a YouTube video link or ID, or asks to summarize, explain, quote, translate, take notes on, or chat about a specific YouTube video, lecture, podcast, or talk. Returns the full spoken text (captions) as one block, plus the title and channel. Set timestamps to true when the user wants timestamps, wants to find or quote where something is said, or wants a timeline or chapter breakdown: each caption line then starts with its [m:ss] time. Accepts watch, youtu.be, Shorts, and live URLs. Do not use for non-YouTube videos or for files the user uploads. If a video has no captions, this returns an error: tell the user instead of guessing what the video says.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language code, e.g. 'en', 'es'. Defaults to 'en'. | |
| translate | No | Language code to machine-translate the transcript into, e.g. 'es', 'zh-CN'. Timestamps stay aligned. Use when the user wants the video's text in another language. | |
| video_url | Yes | YouTube URL (full or short) or an 11-character video ID | |
| timestamps | No | One line per caption, each starting with its [m:ss] start time. Defaults to false (one block of text). | |
| send_metadata | No | Include title/author/thumbnail metadata. Defaults to true. |