edit_marker
Rename, move, resize, or recolor a REAPER marker or region by name or number, and set new start/end bars, beats, and color.
Instructions
Renames, moves, resizes or recolors a marker or region (e.g. rename 'Chorus' to 'Chorus 1', or extend the bridge region to bar 49).
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": "<marker>"
},
"name": "edit_marker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | #RRGGBB | |
| marker | Yes | The marker's or region's name, or its number | |
| region | No | True for a region, False for a marker, when names clash | |
| end_bar | No | Regions: new end bar | |
| end_beat | No | ||
| new_name | No | ||
| start_bar | No | Bar, 1-based | |
| start_beat | No |