trim_clip
Adjust a video clip's start and end times to remove unwanted sections from the beginning or end.
Instructions
Trim a clip by adjusting its start and/or end point.
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_name": "<project_name>",
"segment_id": "<segment_id>"
},
"name": "trim_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_end_ms | No | New end time relative to the source material (ms). Trims the end of the clip. | |
| segment_id | Yes | ID of the segment to trim. | |
| new_start_ms | No | New start time relative to the source material (ms). Trims the beginning of the clip. | |
| project_name | Yes | Name of the CapCut project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |