gemini_analyze_content
Analyze code, documents, or data by summarizing, reviewing, explaining, optimizing, or debugging. Accepts file paths or direct input, auto-detecting content type and language.
Instructions
Analyze code, documents, or data. Supports file path or direct content input. Provides summarization, code review, explanation, optimization, and debugging. Auto-detects content type and programming language.
TIP: This tool supports PARALLEL calls - analyze multiple files simultaneously for faster results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Analysis task (default: summarize) | summarize |
| type | No | Content type (default: auto) | auto |
| focus | No | Optional: Specific areas to focus on (e.g., ["security", "performance"]) | |
| model | No | Gemini model to use (optional, default: gemini-3.1-pro-preview) | |
| content | No | Content to analyze (direct input). Use this or filePath. | |
| filePath | No | File path to read and analyze (e.g., "./src/utils/parser.ts"). The tool will automatically read the file and detect the language. Use this or content. | |
| language | No | Optional: Programming language (if code). Auto-detected when using filePath. | |
| outputFormat | No | Output format (default: markdown) | markdown |