studio.trim_clip
Trim a timeline clip's start or end edge to an absolute TIMELINE millisecond. The clip keeps its id and its source in/out points move with the edge, so the footage stays in sync. Refuses if the trim would leave under 100ms, cross a neighbouring clip, or run past the source media.
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": {
"project_id": "<project_id>",
"clip_id": "<clip_id>",
"edge": "<edge>",
"at_ms": "<at_ms>"
},
"name": "studio.trim_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | Yes | ||
| at_ms | Yes | Absolute TIMELINE position for the new edge, not an offset. | |
| clip_id | Yes | ||
| project_id | Yes | The studio project (vp_…) this tool acts on. |