Clip a time range
clip_rangeUse this when the user wants ONE clip of an exact stretch of a video: "clip 1:02:10 to 1:03:00" (3730 to 3780 seconds), or a match from get_moments. Makes one captioned vertical clip of exactly that stretch. Not for: RipClip picking highlights (find_clips) or searching a topic (find_moments). Spends Horizon Units for just those minutes: call estimate_hu with the same range as range_start / range_end first, show the number and pass the approved amount as max_hu (a failed job gives it back). Returns job_id; job_status waits for it.
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>",
"start_seconds": "<start_seconds>",
"end_seconds": "<end_seconds>",
"max_hu": "<max_hu>"
},
"name": "clip_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_hu | Yes | Horizon Units the user approved, from estimate_hu; a higher cost is refused. | |
| project_id | Yes | Id of the video, from list_projects. | |
| end_seconds | Yes | Clip end in seconds from the video start. The clip must be 3 seconds to 5 minutes long. | |
| request_key | No | Optional unique string; repeating it returns the same job. | |
| start_seconds | Yes | Clip start in seconds from the video start, e.g. 3730 for 1:02:10. | |
| clipping_preset | No | Preset id or name from list_clipping_presets; empty is the default, "none" the standard look. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| status | Yes | ||
| status_url | Yes | ||
| reserved_hu | Yes | ||
| results_url | Yes |