references
Find cross-file references for any symbol with usage counts. Use full member path to search project-wide or restrict to a file, auto-reindexing modified files.
Instructions
Cross-file usages of a symbol, incl. usage counts. Use full member path (obj.method). Prefer over grep. AUTO-FRESH: files modified after last index are re-indexed automatically on read — explicit reindex only needed for brand-new workspaces/files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Restrict to file rel to root; not a dir; omit = project-wide | |
| kind | No | Y002-S4 kind filter: comma-separated call/import/use/assign/extends/implements. Invalid kinds ignored with kind_filter_note. | |
| symbol | Yes | Symbol name / call target to find references for | |
| workspace_dir | Yes | REQUIRED: project root (abs). reindex first if new. |