search_symbol
Locate symbol declarations (class/function/type/var) by name or substring using semantic indexing. Returns file and line references without bodies.
Instructions
Find a symbol DECLARATION (class/function/type/var) by name/substring — semantic index, not grep. → capped kind name @ file:line, no bodies. Use instead of grep/rg to locate a symbol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Symbol name or substring. | |
| path | No | Scope to a file/class (basename or path substring). An inherited symbol not declared there is reported tree-wide. | |
| backend | No | ||
| maxResults | No | ||
| projectPath | No |