get_transcript
Retrieves a YouTube video’s transcript by video ID in text, timestamped JSON, or SRT format, with automatic language detection when no language code is provided.
Instructions
Get the transcript of a YouTube video.
Args: video_id: YouTube video ID (11 characters, e.g. 'dQw4w9WgXcQ') lang: Language code (e.g. 'en', 'it'). Auto-detected if omitted. format: Output format — 'text' (default), 'json' (segments with timestamps), or 'srt'.
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": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| format | No | text | |
| video_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |