get_functions
Find and inspect functions/methods in a codebase. Get line counts per function, filter by keywords, extensions, or line thresholds, and sort results for code analysis.
Instructions
Returns function/method info. Use detail=lines for line counts per function.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | Filter by keyword | |
| path | Yes | Target path | |
| limit | No | Max results | |
| detail | No | Detail level | |
| sort_by | No | Sort order | |
| max_depth | No | Max depth | |
| max_files | No | Max files to scan | |
| min_lines | No | Min lines (lines mode) | |
| extensions | No | Filter by extensions | |
| include_hidden | No | Include hidden | |
| ignore_patterns | No | Exclude patterns |