Find identifier occurrences
find_referencesLocate all occurrences of an identifier in the indexed workspace, marking definition sites with confidence tiers based on exact, likely, or name matches.
Instructions
Occurrences of an identifier across the indexed workspace, marking definition sites. References are classified with confidence tiers: exact (import-resolved or local), likely (same-dir or unique name), name (fallback). If the index for root does not exist yet it is built automatically (first call may be slow).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | restrict results to this file (scope filter for same-named definitions) | |
| name | Yes | identifier name to find | |
| root | No | index root to query; required when several indexes exist | |
| limit | No | max results returned (default 50, hard max 200) | |
| offset | No | skip the first N results before applying limit |