get_transcript
Fetch the spoken text of a YouTube video from its URL or ID, with language priority, optional timestamps, and paging for long transcripts.
Instructions
Get the transcript of a YouTube video as text.
Args:
video: YouTube URL (watch, youtu.be, shorts, embed, live) or 11-character video ID.
languages: Language codes in priority order, e.g. ["de", "en"]. Defaults to ["en"].
Manually created transcripts are preferred over auto-generated ones.
include_timestamps: Prefix each caption line with its [m:ss] start time.
offset: Character offset to start from, for paging through long transcripts.
max_chars: Maximum characters to return in this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | ||
| offset | No | ||
| languages | No | ||
| max_chars | No | ||
| include_timestamps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |