find_references
Locate every usage of a symbol in a project by specifying its file, line, and column. Returns all reference locations for navigation and refactoring.
Instructions
Find all references to a symbol across the project. Returns every location where the symbol is used.
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": "find_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | Column number (1-indexed) | |
| file | Yes | Relative file path from project root | |
| line | Yes | Line number (1-indexed) |