Video Batch Analyze
video_batch_analyzeAnalyze every supported video in a directory concurrently, applying one instruction to each file, with bounded parallelism and resumable batch jobs.
Instructions
Analyze all video files in a directory concurrently.
Scans the directory for supported video files (mp4, webm, mov, avi, mkv, mpeg, wmv, 3gpp), then analyzes each with the given instruction using bounded concurrency (3 parallel Gemini calls). Discovery rejects more than 5,000 entry visits; narrow the directory or pattern to stay within that bound.
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": {
"directory": "<directory>"
},
"name": "video_batch_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Resume this exact batch without repeating completed or ambiguous submissions | |
| directory | Yes | Path to a directory containing video files | |
| max_files | No | Maximum files to process | |
| instruction | No | What to analyze in each video | Provide a comprehensive analysis of this video. |
| glob_pattern | No | Glob pattern to filter files within the directory | * |
| output_schema | No | Optional JSON Schema for each video's response | |
| thinking_level | No | Gemini thinking depth. | high |
| max_concurrency | No | Maximum concurrent item submissions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||