capcut_trim_segment
Adjust a clip segment's start, duration, or source in-point in seconds. Enable ripple to shift later segments automatically, preventing gaps or overlaps.
Instructions
Change a segment start / duration / source in-point (seconds). With ripple:true, every later segment (on this track, or every track if rippleAllTracks:true) shifts by the resulting time change instead of leaving a gap or an overlap.
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": {
"draft": "<draft>",
"segmentId": "<segmentId>"
},
"name": "capcut_trim_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atSec | No | ||
| draft | Yes | ||
| durSec | No | ||
| ripple | No | ||
| segmentId | Yes | ||
| srcStartSec | No | ||
| rippleAllTracks | No |