Trim region
score.trim_regionMove the start or end edge of a region. No note is changed: one that starts outside the new edges stays stored but silent, one that starts inside sounds at its full length; an audio region shows more or less of its source. Returns the new score_id (edit that one next) and where it now sits.
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>",
"edge": "<edge>",
"score_id": "<score_id>"
},
"name": "score.trim_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | Yes | The edge to move | |
| score_id | Yes | The score to edit | |
| to_beats | No | Where it goes | |
| region_id | Yes | The region | |
| to_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | The version this edit started from | |
| region | Yes | ||
| 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 |