Get symbol references
get_referencesLocate all usages of a given symbol across the codebase, including component references, call sites, imports, and property reads. Restrict the search to a single file when needed.
Instructions
Where a symbol is used: JSX component usages, call sites (with line numbers), which files import it by name, and where the name is written without being called — string keys, object keys, property reads (how registries, event names and route tables wire things together). Use instead of grep-ing for usages. Heuristic — for a common name, narrow with file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Restrict to one file (repo-relative). | |
| name | Yes | Symbol name (function/class/method/component as written at usage sites). |