Extract a part
extract_partThe MusicXML of one part (or a few) of a recognised score, e.g. the alto line of a choir piece. Part names are in describe_score.
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": {
"recognition_id": "<recognition_id>",
"part": "<part>"
},
"name": "extract_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | collection mode only: which MusicXML of `files`, e.g. '003.musicxml' | |
| part | Yes | part id (P2), name (Alto) or number (2); several: 'Soprano,Alto' | |
| save_to | No | local path to write the MusicXML to (stdio only) | |
| recognition_id | Yes | id returned by recognize_sheet_music, e.g. rec_… |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||