Trim clips
trim_clipsAdjusts one edge of a clip (linked A/V partners follow). edge: 'start' trims/extends the in-point, 'end' the out-point. deltaFrames > 0 moves the edge right, < 0 left — e.g. edge 'end', delta -12 shortens the clip by 12 frames. Extending is limited by the source material.
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": {
"projectId": "<projectId>",
"timelineId": "<timelineId>",
"clipId": "<clipId>",
"edge": "<edge>",
"deltaFrames": "<deltaFrames>",
"token": "<token>"
},
"name": "trim_clips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | Yes | start | end | |
| token | Yes | The session token `connect` returned. Pass it on every call — it says which browser to drive. | |
| clipId | Yes | Clip to trim. | |
| projectId | Yes | Project id from get_projects. | |
| timelineId | Yes | Timeline containing the clip. | |
| deltaFrames | Yes | Signed frame delta for that edge. |