Add part
score.add_partAdd a layer to a score: one voice of the music (a drum kit, a bass, a pad, a recorded sound) with its own instrument, effects, level and regions. Silent until it has a region: notes need an instrument on the part; an audio region sounds on its own. Returns the new score_id (edit that one next) and the part_id.
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>"
},
"name": "score.add_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | No | -1 left to 1 right | |
| name | No | A label | |
| output | No | Where it sounds: master (default) or a part_id, to group parts under one part’s effects and level | master |
| gain_db | No | Level. Default 0 | |
| score_id | Yes | The score to edit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | The version this edit started from | |
| changed | Yes | What the edit added, removed or modified | |
| part_id | Yes | ||
| score_id | Yes | The new version: edit this one next (older ids stay valid) | |
| warnings | Yes |