AHK_Analyze
Analyze AutoHotkey v2 scripts to identify functions, variables, classes, and code elements with contextual information and documentation.
Instructions
Ahk analyze Analyzes AutoHotkey v2 scripts and provides contextual information about functions, variables, classes, and other elements used in the code. Accepts direct code or a file path (falls back to active file).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | AutoHotkey code to analyze | |
| filePath | No | Path to .ahk file to analyze (defaults to active file when code omitted) | |
| includeDocumentation | No | Include documentation for built-in elements | |
| includeUsageExamples | No | Include usage examples | |
| analyzeComplexity | No | Analyze code complexity | |
| severityFilter | No | Filter issues by severity levels (e.g., ["error"] for errors only) | |
| maxIssues | No | Limit number of issues returned (reduces token usage) | |
| summaryOnly | No | Return only summary counts, not detailed issues (minimal tokens) |