Subtitle file of a YouTube video
youtube_video_subtitlesA YouTube video’s captions as a subtitle file: srt, vtt, ttml, json3 or srv1.
A video’s captions as a ready subtitle file in content: srt (default), vtt, ttml, json3 (YouTube’s own) or srv1. Language rules as youtube_video_transcript.
Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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_video_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A video or Short id, or any URL of it (watch, youtu.be, shorts, live, embed). | |
| format | No | srt (default), vtt, ttml, json3 or srv1. | |
| language | No | ISO 639-1 language code (en, es, pt-BR). |