Delete several sequence markers
delete_markersDelete sequence markers by IDs or filters such as type, color, time range, or text. Specify at least one selector; returns deleted, remaining, and deleted marker details.
Instructions
Delete the markers of a sequence chosen by marker_ids and/or by filters (type, colour, time range, text); at least one of them is required. Returns deleted, remaining and deleted_markers (id, name, time). Use delete_all_markers to remove every marker.
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": "delete_markers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Only markers whose name or comment contains this text (plain substring, case-insensitive). | |
| type | No | Only markers of this type. One of "comment", "chapter", "segmentation", "web_link". | |
| color | No | Only markers of this colour. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan. | |
| to_time | No | Only markers that start at or before this sequence time, in seconds. | |
| from_time | No | Only markers that start at or after this sequence time, in seconds. | |
| marker_ids | No | Ids of the markers to delete (combined with any filters). | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |