Set Repeat Barlines
set_repeat_barlinesAdd or remove start and end repeat barlines around a range of measures. For MuseScore 4.6+; older versions select measures and indicate palette clicks.
Instructions
Put start and end repeat barlines around a range of measures, or remove them. Needs MuseScore 4.6 or newer; on older versions the measures are selected and the reply says which palette items to click.
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": {
"start_measure": "<start_measure>",
"end_measure": "<end_measure>"
},
"name": "set_repeat_barlines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | True to remove the repeat barlines instead of adding them | |
| play_count | No | How many times the passage is played in total | |
| end_measure | Yes | Measure that gets the end repeat (1-based, inclusive) | |
| start_measure | Yes | Measure that gets the start repeat (1-based) |