Answer a question about a video
analyze_videoAnswers natural-language questions about a full video or time range, returning approximate timestamps. Check video_info first for limits; local files upload to Google and use API quota.
Instructions
Answer a question about a whole video or a time range, with approximate timestamps. Local files are uploaded to Google for processing; this call is billed to the user's API quota. Use video_info first to check limits.
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>",
"question": "<question>"
},
"name": "analyze_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | normal | |
| source | Yes | ||
| refresh | No | ||
| question | Yes | ||
| end_seconds | No | ||
| start_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache | No | ||
| model | Yes | ||
| usage | No | ||
| answer | Yes | ||
| detail | Yes | ||
| segment | No | ||
| warnings | No | ||
| confidence | No | medium | |
| key_points | No | ||
| timestamps | No |