youtube_captions
Fetch auto-generated or human captions from a YouTube video by its 11-character ID and language code. Returns timed caption cues with text, start time, and duration.
Instructions
Retrieve auto-generated or human captions. Returns the caption cues for a YouTube video by its 11-character video id, in the language given by lang (ISO 639-1, default en). Each cue has its text, start time and duration. Works for both auto-generated and human-written captions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | YouTube video ID (11-character code) | |
| lang | No | Caption language code (ISO 639-1), defaults to **en** |