Search Identifiers
search_identifiersSearch for code identifiers across a repository using AST analysis to find definitions and references with surrounding code context.
Instructions
Search for code identifiers (functions, classes, variables) across the repository via Tree-sitter AST analysis. Returns matching definitions and references with code context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Identifier name to search for (case-insensitive substring match) | |
| maxResults | No | Maximum number of results | |
| projectRoot | Yes | Absolute path to the repository root | |
| includeReferences | No | Include reference sites | |
| includeDefinitions | No | Include definition sites |