Get Score
get_scoreRetrieve notes from the current score as LilyPond or raw JSON, paging through measures and selecting staves to inspect large scores.
Instructions
Get the notes of the current score as LilyPond (or raw JSON), a range of measures at a time. Without end_measure, returns at most 16 measures starting at start_measure; the header says how many measures the score has, so page through long scores. Use staves to read only some staves of a large score. Each bar ends with '% m.N': N is the bar's position, which is what every tool's measure parameters mean. When the score's displayed bar numbers differ (e.g. they count repeats), the displayed number follows as '(bar M)'; repeat barlines show as '|:' and ':|xN'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "lilypond" for compact notation text, "json" for the raw analysis | lilypond |
| staves | No | Staff indices to read (0-based). Defaults to all staves. | |
| end_measure | No | Last measure to read (1-based, inclusive). Defaults to start_measure + 15. | |
| start_measure | No | First measure to read (1-based) |