Content Batch Analyze
content_batch_analyzeAnalyze multiple content files from a directory or list, comparing them together or individually for cross-document or per-file analysis.
Instructions
Analyze multiple content files from a directory or explicit file list.
Rejects discovery over 5,000 entry visits and compare payloads over DOC_MAX_DOWNLOAD_BYTES. Supports two modes: 'compare' sends files in a single call for cross-document analysis, 'individual' analyzes each file separately with bounded concurrency (3 parallel calls).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'compare' for cross-document analysis in one call, 'individual' for separate per-file analysis | compare |
| directory | No | Directory to scan for content files | |
| max_files | No | Maximum files to process | |
| file_paths | No | Explicit list of file paths to analyze | |
| instruction | No | What to analyze — e.g. 'compare methodologies', 'summarize each document', 'extract key findings' | Provide a comprehensive analysis of these documents. |
| glob_pattern | No | Glob pattern to filter files within directory | * |
| output_schema | No | Optional JSON Schema for each result | |
| thinking_level | No | Gemini thinking depth. | high |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||