get_functions
Retrieve function and method information from source code. Use filters for keywords, depth, and extensions, with options to sort by name or line counts 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 |