analyze_file
Analyze file content for quality, security, performance, or documentation using local LLM processing. Supports multiple output formats and maintains privacy by keeping all data on your machine.
Instructions
LLM analysis for one file. If path is a directory, returns candidate-file hints. includeContent defaults to false.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to analyze. If a directory is provided, the error includes candidate file hints. | |
| analysisType | No | Type of analysis (default: full) | |
| question | No | Specific question about the file | |
| maxBytes | No | Maximum bytes to read | |
| includeContent | No | Include raw file content in response (default: false to save context) | |
| format | No | Output format: compact (paths only), dense (minimal), detailed (full), json (raw) |