references
Find cross-file usages of a code symbol with usage counts. Specify full member path (obj.method) to locate calls, imports, uses, assignments across a workspace, avoiding grep.
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
TableJSON 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. |