Update a source clip marker
update_item_markerModify an existing Premiere Pro project item marker by marker_id, updating only the supplied properties such as name, comment, time, duration, colour, type, or link.
Instructions
Change a marker on a project item, addressed by marker_id (from list_item_markers). Only the arguments you pass are changed: name, comment, time (seconds; the marker keeps its duration), duration (seconds), colour and type. Returns the marker after the change.
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": {
"marker_id": "<marker_id>"
},
"name": "update_item_marker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Link target; only for type "weblink". | |
| name | No | New marker name. | |
| time | No | New position, in seconds from the media start. The duration is kept. | |
| type | No | Marker type: "comment" (default), "chapter", "segmentation" or "weblink" (needs url). | |
| comment | No | New marker comment. | |
| item_id | No | Stable project item id (from list_project_items). Preferred. | |
| duration | No | New duration, in seconds. | |
| item_name | No | Item name; the first match in the project is used. | |
| item_path | No | Path in the Project panel, e.g. "Footage/Day 1/clip.mp4". | |
| marker_id | Yes | Marker id from list_item_markers / add_item_marker. | |
| color_index | No | Marker colour index 0-7 (0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan). | |
| frame_target | No | Frame target of the link; only for type "weblink". |