youtube_get_transcript
Retrieve transcripts and captions from YouTube videos by video ID, using the public transcript API by default or the official YouTube Data API for owned videos.
Instructions
Get transcript/captions for a video.
Uses youtube-transcript-api by default (works for public videos, zero quota). Set use_official_api=True to use the official YouTube Data API (own 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": {
"video_id": "<video_id>"
},
"name": "youtube_get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | en | |
| video_id | Yes | ||
| use_official_api | No |