Make Part Score
make_part_scoreCreates a separate score containing only selected parts, such as a drum kit, while preserving the original and handling damaged bars.
Instructions
Make a separate score containing only some parts (e.g. the drum kit) to build a chart in: saves the current score, writes a copy of its file without the other instruments (tempo, rehearsal marks, repeats and the title move to the kept staff), closes the original and opens the copy in its place (the plugin can only work in its own window). The original is saved and unchanged; if the copy can't be opened, the original is reopened. Works even when another instrument has a damaged bar. in_place=True instead removes the other instruments from the open score itself, without saving anything first (so a damaged bar in another instrument is never written again) and after backing up the full score (MusicXML export, plus a copy of its .mscz when it can be identified); it reports bars left that don't add up. Staff indices in the new score start again from 0.
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": {
"staves": "<staves>"
},
"name": "make_part_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staves | Yes | Staff indices (0-based) whose parts to keep | |
| in_place | No | Remove the other instruments from the open score (after backing up the full score) instead of making a copy | |
| score_path | No | Path of the current score's file. Defaults to the file of the score open in MuseScore. | |
| output_path | No | Where to save the new score (.mscz). Defaults to next to the original, named after the part. |