Get symbol references
get_referencesFind where a symbol is used in a TypeScript codebase, including JSX component usages, call sites with line numbers, and importing files. Narrow results to one file using the optional file field.
Instructions
Where a symbol is used: JSX component usages, call sites (with line numbers) and which files import it by name. 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). |