Add sequence marker
add_markerCreates a single timeline marker in Adobe Premiere Pro at a set time or at the playhead. Set its name, comment, span duration, colour, and type; returns the new marker details.
Instructions
Add one marker to a sequence's timeline, at a time in seconds or at the playhead when time is omitted. Optionally set its name, comment, duration (a span marker), colour and type. Returns the new marker: marker_id, index, name, comment, time, end, duration, timecode, type, color_index, color. Use add_markers for several markers in one call, and add_item_marker for a marker on a source clip (project item).
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_marker"
}
}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. | |
| name | No | Marker name. Default empty. | |
| time | No | Marker position in sequence time, in seconds from the start of the timeline. Omit to use the playhead position. | |
| type | No | Marker type. Default "comment". One of "comment", "chapter", "segmentation", "web_link". | |
| color | No | Marker colour. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan. | |
| comment | No | Marker comment (the Comments field of the marker dialog). Default empty. | |
| duration | No | Length of the marker span, in seconds. Default 0 (a point 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. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| snap_to_frame | No | Round the time to the nearest frame of the sequence. Default false (the time is used as given). |