trim
Extract a segment from a video or audio clip by specifying the start time and optional end time in seconds.
Instructions
Cut a clip to the range [start_seconds, end_seconds].
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": {
"clip_id": "<clip_id>",
"start_seconds": "<start_seconds>"
},
"name": "trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | Yes | Source clip (video or audio). | |
| end_seconds | No | Where it ends; omit to keep everything after start. | |
| start_seconds | Yes | Where the trimmed clip begins. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||