Markers as YouTube chapters
markers_to_youtube_chaptersConvert Premiere Pro sequence markers into a YouTube chapter list with timestamps and titles, filter by type or color, add a 0:00 intro when needed, and get rule warnings before pasting.
Instructions
Return the markers of a sequence as a YouTube chapter list: text with one "0:00 Title" line per marker (H:MM:SS for sequences of an hour or more), ready to paste into a video description. Titles come from the marker name, else the first comment line. Filter by type (e.g. "chapter") or colour to use only some markers. Returns text, chapters (time, timestamp, title), intro_added and warnings about YouTube's rules (start at 0:00, at least 3 chapters, 10 s minimum). Use export_markers with format "youtube" to write the list to a file.
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": "markers_to_youtube_chapters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Only markers whose name or comment contains this text (plain substring, case-insensitive). | |
| type | No | Only markers of this type. One of "comment", "chapter", "segmentation", "web_link". | |
| color | No | Only markers of this colour. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan. | |
| to_time | No | Only markers that start at or before this sequence time, in seconds. | |
| from_time | No | Only markers that start at or after this sequence time, in seconds. | |
| intro_title | No | Title of that added 0:00 chapter. Default "Intro". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| ensure_zero_start | No | Add a chapter at 0:00 when no marker starts in the first second (YouTube ignores lists that do not start at 0:00). Default true. |