Get YouTube transcript
get_youtube_transcriptFetch the transcript (captions/subtitles) of a YouTube video as text. Accepts a watch URL, youtu.be link, Shorts link or bare 11-character video id. Returns the spoken text with timestamps grouped in ~30 s blocks by default; format 'text' is prose without timestamps, 'srt'/'vtt' are subtitle files, 'json' is raw segments with start/duration. Works with creator-uploaded and auto-generated captions. translate_to translates the transcript with AI (extra credits, scales with length) — omit unless asked.
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": "<video>"
},
"name": "get_youtube_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | ||
| format | No | timestamped | |
| language | No | en | |
| translate_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |