get_youtube_transcript
Fetch a YouTube video transcript by URL or ID, with optional start/end timestamps and language selection, to review or analyze spoken content.
Instructions
Fetches the transcript of a YouTube video between specified timestamps.
Args:
video_url_or_id: YouTube video URL or video ID
start_time: Start time in seconds (default: 0)
end_time: End time in seconds (default: None, means end of video)
languages: Preferred languages for transcript (default: ['en'])
Returns:
JSON string containing transcript entries with metadata
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_youtube_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | ||
| languages | No | ||
| start_time | No | ||
| video_url_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |