nav_references
Retrieve ground-truth references from the live language server to confirm impact before editing. Authoritative results reflect current file contents, with optional file filtering.
Instructions
Ground-truth 'find all references' from the live language server (pyright/tsserver), always reflecting current on-disk file contents. Use this to CONFIRM impact before editing a symbol — it is authoritative where the static map is only indicative. Costs real latency on large projects, so narrow first: use map_neighbors to identify the area, resolve(nodeId) for an exact file:line:col, then call this. If results are truncated, refine with fileFilter rather than raising the budget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | 1-based column (UTF-16 units) | |
| file | Yes | Repo-relative path, posix separators | |
| line | Yes | 1-based line | |
| fileFilter | No | Substring/glob to scope result files, e.g. 'src/' or 'tests/' | |
| tokenBudget | No | Max tokens for the response. Lists are truncated to fit, with a note saying what was dropped and how to get it back. | |
| includeDeclaration | No |