start_trim
Trim a video by specifying start time and duration. Returns job ID and status immediately.
Instructions
Enqueue a TRIM job. Returns immediately with job_id + status.
input_file: path to input video file (must exist) start_time: seconds (float) duration: seconds (float) force_run: if we need to force run a job or not ignoring cache
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": {
"input_file": "<input_file>",
"start_time": "<start_time>",
"duration": "<duration>"
},
"name": "start_trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file | Yes | ||
| start_time | Yes | ||
| duration | Yes | ||
| force_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |