Quote the clipping cost (Horizon Units)
estimate_huUse this when the user wants to know what clipping a video costs before it runs: "how much will it take to clip this stream". Returns the Horizon Units (HU) find_clips, find_moments or clip_range would spend. Show the number, wait for the user's approval, then pass it as max_hu. Not for: starting the job or pricing an edit (edits cost no HU). Free.
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>"
},
"name": "estimate_hu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range_end | No | End in seconds; 0 = whole video | |
| project_id | Yes | Project id from list_projects or a finished import | |
| range_start | No | Start in seconds; 0 and 0 = whole video | |
| request_key | No | Optional; leave empty |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hu | Yes | ||
| processed_minutes | Yes |