lsp_references
Find all references to a symbol in a file by specifying its file path and position. Optionally include the declaration and limit the number of results.
Instructions
Request textDocument/references from the LSP server and return normalized locations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or workspace-relative path to the file. | |
| position | Yes | Line/character position (zero-based) in the file. | |
| maxResults | No | Maximum number of results to return. | |
| includeDeclaration | No | Whether to include the declaration in the results. |