lspFindReferences
Find all usages of a symbol in code using language server semantic analysis. Identify dependencies and assess impact before changing functions, classes, or variables.
Instructions
Find all usages of a symbol [LOCAL: LSP]
REQUIRES lineHint - call localSearchCode FIRST to get line number
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queries | Yes | Queries for lspFindReferences (1-5 per call). Review schema before use. Batch independent symbols and use page for large result sets. | |
| responseCharOffset | No | Character offset for top-level bulk response pagination across results[]. Use when a multi-query response was auto-paginated. | |
| responseCharLength | No | Character budget for top-level bulk response pagination across results[]. Overrides the shared default for this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Array of results, one per input query, discriminated by status | |
| responsePagination | No | Pagination metadata for top-level bulk response pagination across results[] |