Locate moments in a video
find_momentsSearch videos for ranked moments that match a natural-language description, with optional time-range and result limits to pinpoint relevant segments.
Instructions
Find ranked segments matching a description. Local files are uploaded to Google for processing; this call is billed to the user's API quota.
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": {
"source": "<source>",
"description": "<description>"
},
"name": "find_moments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | normal | |
| source | Yes | ||
| refresh | No | ||
| description | Yes | ||
| end_seconds | No | ||
| max_results | No | ||
| start_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache | No | ||
| model | Yes | ||
| usage | No | ||
| detail | Yes | ||
| moments | No | ||
| warnings | No | ||
| searched_range | No |