Add Volta
add_voltaAdds a first or second ending bracket over a range of measures and sets repeat passes; if the plugin API fails, it selects the measures and reports the palette item to click.
Instructions
Add a volta (1st/2nd ending bracket) over a range of measures. Experimental: the plugin API has no dedicated volta call, so check the result; if it fails, the measures are selected and the reply says which palette item 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>"
},
"name": "add_volta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Volta label. Defaults to the endings, e.g. "1." or "1, 2." | |
| endings | No | Which repeat passes play this ending, e.g. [1] for a first ending, [2] for a second | |
| end_measure | No | Last measure under the volta (1-based, inclusive). Defaults to start_measure. | |
| start_measure | Yes | First measure under the volta (1-based) |