roll_edit
Move a clip's cut point by a specified number of seconds, extending one side and shortening the other while keeping total clip length unchanged.
Instructions
Roll the cut at a clip's end (or start): the cut point moves by by seconds, one side gets longer and the other shorter, total length unchanged.
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": {
"by": "<by>"
},
"name": "roll_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | Offset (seconds) | |
| id | No | Stable clip id from sequence_state (preferred; survives other edits) | |
| clip | No | Clip index on that track (shifts after edits; prefer id) | |
| edge | No | end | |
| kind | No | Track type | video |
| track | No | Track index, 0 = V1/A1 | |
| sequence | No | Sequence name or ID. Defaults to the active sequence. |