Get a transcript
get_video_transcriptRetrieve a video's transcript as timed lines, with speaker labels when multiple voices are detected. Page through long transcripts using limit and offset to read beyond the first 200 lines.
Instructions
Get the transcript of a video as timed lines. Empty if the video has not been transcribed. A feature-length transcript is very long, so this returns the first 200 lines by default - check totalCount and page with offset if you need the rest. When the video has more than one voice, each line's speaker says who speaks it: an actor's name, a name the user gave, or 'Speaker 1', 'Speaker 2' for voices told apart but not named. Voices are told apart by sound alone and can be wrong on short lines. speaker is null when the video has one voice or was transcribed before version 10.6.
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": {
"videoId": "<videoId>"
},
"name": "get_video_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of transcript lines. Defaults to 200. | |
| offset | No | Skip this many lines, for reading further into a long transcript. | |
| videoId | Yes | The video's catalog id. |