youtube_captions
Fetch caption data for one YouTube video as timed text entries, optionally filtered by language. Use youtube_transcript for translation, JSON/text/SRT/VTT output, or timestamp controls; use youtube_transcript_languages to list available tracks.
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_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | YouTube video id. | |
| lang | No | Caption language code (defaults to en). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |