gograph_arity
Identify functions with excessive parameters by setting a threshold. Returns functions exceeding the count to flag refactoring candidates.
Instructions
Identify functions or methods that exceed a specified number of parameters (arity violation). BEHAVIOR & SAFETY: This is a 100% local, read-only static analysis tool. It has no side effects, requires no authorization or credentials, has no rate limits, and performs zero destructive modifications. USAGE GUIDELINES: Call this tool to audit design parameters or identify functions that should be refactored into a parameter struct. Do NOT use for struct fields (use gograph_fields instead). COMPLETENESS: Optional 'threshold' value (defaults to 5). Returns a list of functions exceeding the target parameter count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min | No | Minimum argument count to report (default: 5) |