Add markers at a regular interval
add_markers_at_intervalAdd evenly spaced markers every N seconds across a Premiere Pro sequence time range, with optional frame snapping and skipping existing markers.
Instructions
Add a marker every N seconds over a time range of a sequence (default: from 0 to the end of the sequence; a marker lands on both ends when they fall on the grid). At most 2000 markers per call. Markers are named name_prefix + a running number ("Marker 1", "Marker 2" ...). Returns added, skipped_existing and the new markers.
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": {
"interval": "<interval>"
},
"name": "add_markers_at_interval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | No marker is placed after this sequence time, in seconds. Must not be before start. Default: the end of the sequence. | |
| 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. | |
| start | No | Sequence time of the first marker, in seconds. Default 0. | |
| comment | No | Comment given to every new marker. Default empty. | |
| interval | Yes | Distance between markers, in seconds. Must be greater than 0. | |
| name_prefix | No | Text before the running number. Default "Marker ". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| frame_target | No | Frame target of a web_link marker, e.g. "_blank". Default empty. | |
| number_names | No | Append the running number to name_prefix. Default true; false names every marker exactly name_prefix. | |
| start_number | No | Number of the first marker. Default 1. | |
| 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. | |
| snap_to_frames | No | Round each time to the nearest frame of the sequence. Default true. |