analyze_files
Offload file analysis to an external CLI so files never enter your context. Get direct answers for logs, database dumps, generated code, and cross-file reviews.
Instructions
Delegate file analysis to the Antigravity CLI (Gemini) instead of reading files yourself. USE THIS whenever a file is large (>200 lines) or the task spans more than 3 files: logs, database dumps, generated code, cross-file reviews, comparisons. The files never enter your context — only the answer does.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute path to the working directory / project root. Defaults to the server's cwd. | |
| files | Yes | File paths to analyze (relative to cwd or absolute). | |
| model | No | Override the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically. | |
| question | Yes | What you want to know about these files. |