find_references
Find all references and usages of a symbol in the workspace, returning file paths, line numbers, and code snippets.
Instructions
Searches the workspace for references to a given symbol name. Returns file paths, line numbers, caller names, and matching code snippets.
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": {
"symbolName": "<symbolName>"
},
"name": "find_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbolName | Yes | The name of the symbol to find usages of. |