search_symbols
Locate code symbols like classes, functions, and methods across a repository by approximate name using AST-based search, bypassing text search limitations.
Instructions
Search symbols by name across the repo using AST (not text search). Finds classes, functions, methods by approximate name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootDir | Yes | Directory to search in | |
| projectRoot | Yes | Project root for security boundary | |
| query | Yes | Symbol name or partial name to search | |
| fuzzy | No | Enable fuzzy name matching (default: false) | |
| types | No | Filter by symbol types: class_declaration, function_declaration, method_definition, etc. | |
| fileExtensions | No | Extensions to search (default: all supported) | |
| excludeDirs | No | Directories to exclude | |
| maxResults | No | Maximum results (default: 20) |