find_references
Locate all references and usages of a symbol across your workspace to assess the impact of changes before editing.
Instructions
Find all references and usages of a symbol across the workspace. Returns file locations and compact line numbers. Use to assess impact of changes.
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_path": "<file_path>",
"line": "<line>",
"character": "<character>"
},
"name": "find_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| limit | No | ||
| character | Yes | ||
| file_path | Yes | ||
| symbol_name | No | ||
| include_snippet | No | ||
| include_declaration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||