Get video chapters
get_video_chaptersExtract a YouTube video's chapters with start/end times and deep links, using creator markers or deriving topic segments from the transcript when none exist.
Instructions
Chapters of a YouTube video with start/end times and deep links. Uses the creator's chapters from the description (or YouTube's chapter markers) when present; otherwise derives topic segments from the transcript (time windows + keyword-shift detection) and titles them with their distinctive keywords and a representative sentence.
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_video_chapters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube video id (e.g. dQw4w9WgXcQ) or URL (watch?v=, youtu.be/, /shorts/, /embed/, /live/) | |
| source | No | auto (default): creator chapters, else derived; description: creator chapters only; transcript: always derive | auto |
| languages | No | Preferred caption languages in priority order, e.g. ["en", "de"]. Manual captions beat auto-generated ones. Default ["en"]. | |
| target_chapters | No | Derived chapters only: desired number of chapters (default scales with video length) |