get_transcript_range
Extracts only the transcript segment between two timestamps from a YouTube video, letting you fetch just the relevant section of long videos instead of the full transcript.
Instructions
Return only the part of a transcript between two timestamps.
Useful for long videos: fetch metadata/chapters, then pull just the relevant section instead of the whole transcript.
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": "<video>",
"start_seconds": "<start_seconds>",
"end_seconds": "<end_seconds>"
},
"name": "get_transcript_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube URL (watch, youtu.be, /shorts/, /live/, /embed/) or an 11-character video ID. | |
| format | No | Output format: text | timestamped | markdown | srt | vtt | json (default: text). | timestamped |
| language | No | BCP-47 caption language code, e.g. 'en', 'fr', 'es', 'de', 'ja'. Empty = server default ('en'). | |
| end_seconds | Yes | End of the range, in seconds from the beginning. | |
| start_seconds | Yes | Start of the range, in seconds from the beginning. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |