YouTube Transcript
youtube_transcriptGet the transcript of any YouTube video as plain text. Use it to summarize or answer questions without watching the video.
Instructions
Fetch the transcript (captions) of a YouTube video as plain text. Use to summarize or answer questions about a video without watching it. Fails cleanly if the video has no captions.
Args:
video (string): Video URL or 11-character video ID.
lang (string): Preferred caption language code (default 'en'; falls back to whatever exists).
Returns the transcript text.
Example: { "video": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube URL or video ID | |
| lang | No | Preferred language code | en |