get_video_transcript
Get full YouTube video transcripts or subtitles in text, timestamped, or JSON format by providing a video ID or URL, with optional language and time-range filters.
Instructions
Retrieve full video transcripts or subtitles without requiring an API key.
Args: video_id_or_url: YouTube video ID or full URL (e.g., 'dQw4w9WgXcQ' or 'https://youtu.be/...'). languages: Language priority list (e.g., ['en', 'es']). Defaults to ['en']. format: Output format: 'text' (concatenated string), 'timestamped' (lines with [hh:mm:ss]), or 'json' (array of segment objects). start_seconds: Optional start timestamp to filter segments. end_seconds: Optional end timestamp to filter segments.
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_or_url": "<video_id_or_url>"
},
"name": "get_video_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | text | |
| languages | No | ||
| end_seconds | No | ||
| start_seconds | No | ||
| video_id_or_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |