get_transcript
Extract video transcripts from Khan Academy or YouTube videos, providing timestamped or plain text versions for educational use.
Instructions
Get the transcript of a Khan Academy video. Returns timestamped text and a full-text version. Accepts a KA video slug/URL or YouTube URL/ID.
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": {
"slug": "<slug>"
},
"name": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Video slug, KA URL, YouTube URL, or YouTube video ID (e.g., 'math/algebra/v/intro-to-algebra', 'https://www.youtube.com/watch?v=NybHckSEQBI') | |
| language | No | Language code for the transcript (default: 'en') | en |
| format | No | Output format: 'full' (plain text), 'timestamped' (with timestamps), 'both' (default: 'full') | full |