semantic_identifier_search
Search code identifiers like functions and variables using natural language queries to find definitions and usage patterns across your codebase.
Instructions
Search semantic intent at identifier level (functions, methods, classes, variables) with definition lines and ranked call sites. Uses embeddings over symbol signatures and source context, then returns line-numbered definition/call chains.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language intent to match identifiers and usages. | |
| top_k | No | How many identifiers to return. Default: 5. | |
| top_calls_per_identifier | No | How many ranked call sites per identifier. Default: 10. | |
| include_kinds | No | Optional kinds filter, e.g. ["function", "method", "variable"]. | |
| semantic_weight | No | Weight for semantic similarity score. Default: 0.78. | |
| keyword_weight | No | Weight for keyword overlap score. Default: 0.22. |