remove_markers
Delete markers from the active Premiere Pro sequence by name prefix or start-time matches. Provide at least one filter to target specific markers; use results to clean up batches or remove exact markers.
Instructions
Remove markers from the active sequence. Provide AT LEAST ONE filter: prefix (removes every marker whose name starts with the prefix — common case for cleaning up a batch you placed earlier) and/or startSecMatches (an array of start times in seconds; matches within ±0.05s tolerance — useful for surgical removal of specific markers identified via list_markers). At least one filter is required; the call fails if both are omitted (no wildcard remove-all). When both are given, a marker only needs to match ONE of them to be removed. The result always includes activeSequence {name, id} — the sequence this call actually ran against. Compare it across calls to detect the user switching sequences in Premiere mid-session.
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": "remove_markers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Remove all markers whose name starts with this prefix. | |
| startSecMatches | No | Remove markers whose start time matches one of these (±0.05s). |