Chapters
chaptersAdds markers, scene changes, transcript sections, or custom timestamps to an MP4/MKV/MOV copy without re-encoding, returns YouTube timestamp text, and can mux SRT soft subtitles.
Instructions
Write chapters (markers, scene changes, transcript, or a list) into an mp4/mkv/mov copy without re-encoding; returns YouTube chapter text. Can mux an SRT as soft subtitles.
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": "chapters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | markers (default; add_marker, else the file's chapters), scenes (screen changes), or transcript (SRT sections). | |
| input | No | Path to the video. | |
| output | No | Optional .mp4/.mkv/.mov path. Defaults under SCREENCAST_HOME/edits. | |
| chapters | No | Or explicit { start, title } chapters. | |
| textOnly | No | Return chapters and YouTube text only; write no file. | |
| overwrite | No | Replace an existing output. | |
| sessionId | No | Or a stopped recording's id. | |
| subtitles | No | Also mux this .srt/.vtt/.ass as a soft subtitle track. | |
| transcript | No | The .srt for from: transcript. | |
| minChapterSec | No | Shortest chapter (default 1; scenes 10, transcript 30). | |
| subtitleTracks | No | Or several tracks, e.g. one per language (translate_subtitles makes them). | |
| subtitleLanguage | No | ISO 639-2, e.g. "eng". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| youtube | Yes | ||
| chapters | Yes |