get_transcript
Fetch the transcript of a YouTube video by providing its URL or ID. Supports multiple languages and returns output as text or JSON.
Instructions
Fetch the transcript for a YouTube video.
Args: video_url_or_id: YouTube video URL or video ID languages: List of language codes to try (e.g., ['en', 'es']). If None, uses default. format_type: Output format - 'text' or 'json' ctx: MCP context for logging
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_url_or_id": "<video_url_or_id>"
},
"name": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| languages | No | ||
| format_type | No | text | |
| video_url_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |