Split region
score.split_regionCut a region in two at a beat. The left piece keeps its id; region_id is the new right piece. No note is changed: each stays in the piece it starts in, at its full length. Returns the new score_id (edit that one next) and both pieces’ positions.
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": {
"region_id": "<region_id>",
"score_id": "<score_id>"
},
"name": "score.split_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at_beats | No | Where to cut, in the score's beats | |
| score_id | Yes | The score to edit | |
| region_id | Yes | The region | |
| at_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | ||
| right | Yes | ||
| parent | Yes | The version this edit started from | |
| changed | Yes | What the edit added, removed or modified | |
| score_id | Yes | The new version: edit this one next (older ids stay valid) | |
| warnings | Yes | ||
| region_id | Yes | The new right piece |