clip_resize
Resize a clip to a specified length in beats, keeping the start point fixed by default or the end point fixed when anchor is set to 'end'.
Instructions
Change a clip's length. anchor='start' (default) keeps start_beats fixed and moves the right edge. anchor='end' keeps the right edge fixed and moves start_beats so total duration changes from the left.
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": {
"clip_id": "<clip_id>",
"new_length_beats": "<new_length_beats>"
},
"name": "clip_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | No | start | |
| clip_id | Yes | ||
| new_length_beats | Yes |