youtube_transcript
Fetch a YouTube video's transcript with language, translation, JSON/text/SRT/VTT format, and timestamp options; no captions return 404 and a temporary block or rate limit returns 503. Use youtube_transcript_languages to discover available languages first.
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": {
"id": "<id>"
},
"name": "youtube_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | YouTube video id. | |
| lang | No | Preferred transcript language. | |
| format | No | Response format: json, text, srt, or vtt. | |
| timestamps | No | Include timestamps in the JSON response. | |
| translate_to | No | Translate the transcript to this language code. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |