Read editable bars
read_barsRead up to 16 bars of an owned score as compact ABC or editable MusicXML, with its saved revision and musical context. Use for a bounded notation repair. Changes nothing. Request fewer bars if the result is too large.
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": {
"score_id": "<score_id>",
"measures": "<measures>"
},
"name": "read_bars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | abc (default) for compact edits; musicxml for measure elements with retained note IDs. | abc |
| part_id | No | Part ID; required when the score has several parts. | |
| measures | Yes | 1 to 16 bars of one part, in score order: "1-4" or "1,5-8". | |
| score_id | Yes | The score, from a result or the score list. |