add_marker
Adds a marker or a region (if end_bar provided) to a REAPER project for labeling song sections like choruses.
Instructions
Adds a marker, or a region when end_bar is given (e.g. 'Chorus' from bar 17 to 25).
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": {
"name": "<name>",
"bar": "<bar>"
},
"name": "add_marker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | Yes | Bar number, 1-based | |
| beat | No | Beat within the bar, 1-based (default 1) | |
| name | Yes | ||
| color | No | #RRGGBB | |
| end_bar | No | Give this to make a region (e.g. a song section) ending at this bar |