find_references
Find all semantic references to a symbol using the language server index, returning a token-capped file:line list to enable precise code changes.
Instructions
Find every call site / usage of a symbol (semantic, via the language server) — NOT a text grep. THE tool to reach for when MODIFYING code: pass symbol (just the name, e.g. "SpawnActor") and it resolves the declaration and returns all references in one call — no need to know a line/column. (A 0-based path+line+character position also works, to disambiguate an overload.) Returns a token-capped file:line list, no bodies. Prefer this over grepping a name to find its uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Symbol NAME to find references of — resolved via the index (no position needed). The usual way to find call sites when editing. | |
| path | No | Source file containing the symbol (with line/character for an exact position; or alongside `symbol` to disambiguate an overload). | |
| line | No | 0-based line of the symbol position. | |
| character | No | 0-based character/column of the symbol position. | |
| includeDeclaration | No | Include the declaration in the results. | |
| projectPath | No | ||
| backend | No | ||
| maxResults | No |