get_references
Find all references to a symbol in your codebase by providing the file path, line, and column numbers. Uses Neovim's LSP to locate each usage.
Instructions
Find all references to a symbol at a given position via LSP
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>",
"line": "<line>",
"col": "<col>"
},
"name": "get_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | Column number (1-indexed) | |
| file | Yes | Absolute file path | |
| line | Yes | Line number (1-indexed) |