Edit markers
edit_markersAdd, delete, or update timeline and clip markers, including hidden custom data; deletion uses a dry-run confirmation step to prevent accidental changes.
Instructions
Add or delete markers, or change a marker's hidden custom data. Frames count from the start of the timeline or clip. Deleting needs the user's agreement. To change a marker's text, delete it and add it again.
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": {
"action": "<action>"
},
"name": "edit_markers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Marker color, or All | |
| action | Yes | ||
| frames | No | ||
| target | No | 'timeline', or a handle of a timeline, timeline clip or media pool clip | timeline |
| dry_run | No | true: only show the plan and get a confirm_token. false: do it, together with that token. | |
| markers | No | add: [{frame, color?, name?, note?, duration?, custom_data?}] | |
| timeline | No | Handle (tl:...) of the timeline to change, from list_timelines or state_snapshot. | |
| custom_data | No | ||
| confirm_token | No | From the dry run of exactly this call. Works once, for five minutes. |