read_passage
Read notes, rests, and other elements within a specified measure range in the live score. Provide start and end measures, and optionally a staff, to retrieve the content at the cursor for analysis or editing.
Instructions
Read the content of a range of measures in the live score.
Returns what is at the cursor in each measure: notes, rests and other elements. MuseScore gives full note content; Dorico only reports its application status (see the warning in the result).
Args: start_measure: First measure to read (1-indexed). end_measure: Last measure to read (inclusive, 1-indexed). staff: Staff to read (0-indexed). Omit to read the current staff.
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": "read_passage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staff | No | ||
| end_measure | Yes | ||
| start_measure | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |