get_transcript
Fetch a YouTube video's full transcript verbatim, page by page, cached locally for later reads. Continue with a cursor to retrieve the remaining pages and get the original words.
Instructions
Return the full transcript of a YouTube video, one page at a time.
The transcript is saved to the local library on first fetch, so later reads are instant.
A page with a non-null next_cursor is only part of the transcript: call again with that cursor
to read the rest. Summarizing is up to you; this tool always returns the original words.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | No | Video URL or ID. Optional when continuing with a cursor. | |
| cursor | No | next_cursor from a previous page. | |
| format | No | 'segments': timed cues with jump links. 'text': compact timestamped paragraphs. | text |
| origin | No | Force creator-made or automatic captions. | |
| refresh | No | Re-fetch from YouTube even if a saved copy exists. | |
| language | No | Language code such as 'en' or 'pt-BR'. Omit to use the spoken language. | |
| max_segments | No | Segments per page; a cursor keeps its page size. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Present when format='text': '[mm:ss] ...' paragraphs. | |
| title | Yes | ||
| offset | Yes | Index of the first segment on this page. | |
| origin | Yes | ||
| status | No | ready | |
| version | Yes | ||
| language | Yes | ||
| segments | No | Present when format='segments'. | |
| video_id | Yes | ||
| next_cursor | Yes | Pass back to get_transcript to continue; null on the last page. | |
| channel_name | Yes | ||
| language_name | Yes | ||
| total_segments | Yes | ||
| end_of_transcript | Yes | True when this page reaches the final segment. |