Add markers at clip starts
add_markers_at_clip_startsAdds one sequence marker at each clip start on a track, named by optional prefix plus clip name. Converts edits into chapters or a shot list.
Instructions
Add one sequence marker at the start of every clip of one track, named name_prefix + the clip name. Useful to turn an edit into chapters or a shot list. At most 2000 markers per call. Returns clips (on the track), added, skipped_existing and the new markers.
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": "add_markers_at_clip_starts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Link address of a web_link marker. Required when type is "web_link" (unless the marker already is one); only web_link markers use it. | |
| type | No | Type of the new markers. Default "comment". One of "comment", "chapter", "segmentation", "web_link". | |
| color | No | Colour of the new markers. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan. | |
| comment | No | Comment given to every new marker. Default empty. | |
| span_clips | No | Give each marker the duration of its clip instead of making point markers. Default false. | |
| track_type | No | Track type: "video" or "audio". Default "video". | |
| name_prefix | No | Text put before each clip name, e.g. "Shot: ". Default none. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | 0-based track index (0 = V1 or A1). Default 0. | |
| frame_target | No | Frame target of a web_link marker, e.g. "_blank". Default empty. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| skip_existing | No | Do not add a marker where one already starts within half a frame. Default false. |