Get YouTube video transcript
get_transcriptFetch the full transcript of one YouTube video as clean text with metadata (title, channel, duration, upload date, language). Accepts a watch URL, youtu.be link, Shorts URL, or bare 11-character video id. Costs 1 credit the first time it is added to this account's library; repeat reads are free. Set include_segments to true only when per-line timestamps are needed (much larger output).
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>"
},
"name": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Bypass the cache and re-extract (costs a credit). Default false. | |
| video | Yes | YouTube video URL or 11-character video id. | |
| language | No | Preferred caption language code, e.g. 'en' or 'de'. Defaults to 'en', falling back to whatever exists. | |
| include_segments | No | Include the timestamped segment list. Default false — the plain text is usually what you want. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| text | Yes | ||
| title | Yes | ||
| cached | No | True when served from this account's library (free). | |
| source | No | manual_caption or auto_caption. | |
| billing | Yes | ||
| channel | Yes | ||
| duration | No | ||
| language | No | ||
| segments | No | Only when include_segments is true. | |
| video_id | Yes | ||
| paragraphs | Yes | Silence-grouped paragraphs; best for reading and chunking. | |
| word_count | No | ||
| upload_date | No | ||
| duration_text | No |