get_transcript
Download YouTube video captions as plain text or timestamped segments. Search within the transcript, filter by time range, or paginate results with language metadata.
Instructions
Fetch YouTube captions for one video: full text, keyword search, time range, or paginated segments. Returns JSON with segments[] (display_timestamp, end_seconds), match_count when searching, language metadata, and next_steps[]. Structured overview of a video uses summarize_video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max caption segments per page (hard cap 500). | |
| format | No | plain = joined text; timestamped = segments[] with display_timestamp for citations. | plain |
| offset | No | Skip N segments after filters (pagination). Use next_offset from prior response. | |
| languages | No | Preferred caption language codes. Response includes language and language_fallback. | |
| video_ref | Yes | YouTube watch URL, youtu.be link, or 11-character video ID. | |
| end_seconds | No | Only segments overlapping this end time (seconds). | |
| start_seconds | No | Only segments overlapping this start time (seconds). Includes boundary overlap. | |
| search_in_transcript | No | Case-insensitive keyword — returns only matching segments and match_count. |