Get YouTube Transcript
get_youtube_transcriptExtract the verified caption track of any public YouTube video (watch, youtu.be, Shorts, Live, embed, or 11-character video ID). Supports timestamped text, timestamp-free clean prose, Obsidian YAML Markdown, SubRip (.srt), WebVTT (.vtt), and pagination for long videos.
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": {
"url": "<url>"
},
"name": "get_youtube_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL (e.g. https://www.youtube.com/watch?v=...) or 11-character video ID. | |
| page | No | 1-based page number when paginating long transcripts (default: 1). | |
| format | No | Output format: text (default), markdown (Obsidian YAML + clickable youtu.be links), srt, or vtt. | text |
| max_chars | No | Maximum characters per page (1000 to 32000, default: 16000). | |
| include_timestamps | No | Include [MM:SS] timestamps in text/markdown output (default: true). Set false for token-saving clean prose. |