Move the playhead to the previous marker
go_to_previous_markerMoves the playhead to the nearest marker before its current position, optionally filtering by text, type, colour or time range. Returns moved, previous playhead and marker details without changing the active sequence.
Instructions
Move the playhead to the last marker strictly before its current position (optionally only markers matching the filters). When there is none it returns moved=false and leaves the playhead where it is, unless wrap is true. Returns moved, previous_playhead, playhead and the 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": "go_to_previous_marker"
}
}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". | |
| wrap | No | Jump to the last marker when there is none before the playhead. Default false. | |
| 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. | |
| activate | No | Also make the sequence the active one in the timeline. Default false: the sequence's playhead moves but the active sequence does not change. | |
| from_time | No | Only markers that start at or after this sequence time, in seconds. | |
| 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. |