get_transcript
Fetches the transcript text of a YouTube video from a URL or video ID, with language preferences and paging for long transcripts.
Instructions
Fetch the transcript text of a YouTube video.
Long transcripts are returned in pages of max_chars characters. When the
result says truncated: true, call again with offset set to next_offset
for the next page. Each call costs 1 credit via API key, so for a whole
long video prefer summarize_video, get_best_sections or chat_with_video.
Args: video_url: YouTube video URL or 11-character video ID (watch, youtu.be, shorts, live and embed URLs all work) languages: Preferred language codes in order (e.g. ["en", "es"]). Defaults to English, then whatever the video has. max_chars: Maximum characters of transcript text to return (default 80000; 0 = no limit) offset: Character offset to start from, for paging through a long transcript (default 0)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_url": "<video_url>"
},
"name": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| languages | No | ||
| max_chars | No | ||
| video_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |