Update a sequence marker
update_markerUpdate a Premiere Pro marker's name, comment, time, duration, colour, or type in one call; unspecified fields stay unchanged, and time changes preserve duration.
Instructions
Change any of a marker's name, comment, time, duration, colour and type in one call; fields that are not given stay as they are. Changing time moves the marker and keeps its duration. Changing the type also sets the colour to that type's default unless color or keep_color is given. Returns the updated marker and changed (the fields that were written).
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": "update_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 | New name. | |
| time | No | New start time in sequence time, in seconds from the start of the timeline. | |
| type | No | New type. One of "comment", "chapter", "segmentation", "web_link". | |
| color | No | New colour. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan. | |
| comment | No | New comment. | |
| duration | No | New duration, in seconds. 0 makes it a point marker. | |
| marker_id | No | Stable marker id (from list_markers, add_marker ...). Preferred. | |
| keep_color | No | When the type changes, keep the marker's current colour. Default false. | |
| 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. | |
| marker_index | No | 0-based position of the marker in time order; used when marker_id is not given. Shifts when markers are added, moved or deleted. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |