Find moments
find_momentsUse this when the user wants to search a long video for a topic by meaning before clipping: "where do I talk about the new game", "when did chat go wild". Returns job_id; once job_status says done, get_moments gives time ranges with a quote. Not for: cutting clips straight away (find_clips, clip_range) or finding a video by name (search). Spends Horizon Units, as much as reading the whole video: call estimate_hu first, show the number and pass the approved amount as max_hu (a failed search gives it back; a video analysed once is not charged again).
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>",
"topic": "<topic>",
"max_hu": "<max_hu>"
},
"name": "find_moments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many matches to return, 1 to 10. | |
| topic | Yes | What to look for, in plain words, e.g. "the new game" or "funny bits". | |
| 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. | |
| max_seconds | No | Longest match length in seconds. | |
| min_seconds | No | Shortest match length in seconds. | |
| request_key | No | Optional unique string; repeating it returns the same job. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| status | Yes | ||
| status_url | Yes | ||
| reserved_hu | Yes | ||
| results_url | Yes |