Find video moments
search_video_momentsFind visual or audible moments in the user's indexed Library footage from a natural-language query. Prefer this tool first when locating footage. mediaId null searches the whole Library; a video's Asset ID from search_assets or its Library id searches that video. startSeconds and endSeconds limit the search to a range of that video; null searches all of it. Each moment is one indexed segment: its startSeconds and endSeconds are segment boundaries, not the times something appears or leaves. Segments are 2 seconds long in videos up to a minute and up to 6 seconds in longer ones. When a moment is too coarse for the question, call index_video on that range, a few seconds wider, wait for its job, then search the range again. Scores are similarities, not probabilities: compare them only within one search, and a weak top result is not proof of a match, so say when footage is inconclusive. coverage counts videos. A video still being indexed is searched over the part indexed so far, and one whose index stopped over the part it kept: progress lists each such video with indexedSeconds of durationSeconds, and indexing true while its index runs; other pending and unavailable videos were not searched. Searching a range of one video still being indexed has that range indexed next: search it again in a minute. When the one video searched cannot be searched yet, indexing is its index state: wait with read_video_intelligence while it is queued, submitting or processing; call index_video when it is not_indexed. To see a moment, call read_asset with its mediaId and its startSeconds and endSeconds: a contact sheet of that range, without adding the video to a project. Add a result with add_from_library, then use its source range on the timeline. One search uses no extra credits: it is part of the message. It does not index videos or answer detailed questions: analyze_video answers those for a returned range.
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": {
"query": "<query>",
"mediaId": "<mediaId>",
"limit": "<limit>",
"startSeconds": "<startSeconds>",
"endSeconds": "<endSeconds>",
"projectId": "<projectId>"
},
"name": "search_video_moments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| query | Yes | What to find, 1–2000 characters. | |
| mediaId | Yes | ||
| projectId | Yes | The project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs. | |
| endSeconds | Yes | Source seconds where the searched range ends; needs mediaId. null with startSeconds null searches the whole video. | |
| startSeconds | Yes | Source seconds where the searched range starts; needs mediaId. null with endSeconds null searches the whole video. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moments | Yes | ||
| coverage | Yes | ||
| indexing | Yes | ||
| progress | No |