get_references
Find all locations where the symbol at the cursor is referenced in the project, enabling navigation and impact analysis.
Instructions
Get all reference locations of the symbol at the cursor (Find References)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Cursor line (1-based) | |
| offset | Yes | Cursor column (1-based) | |
| filePath | Yes | File path (absolute or relative to project root) | |
| fileContent | Yes | File content (TypeScript/JavaScript source code) | |
| projectPath | No | Project root (directory with node_modules/tsconfig). When set, the server reads project files from disk so imports (e.g. zod) and cross-file features work. |