java_references
Find all usages of a Java symbol at a given file location. Specify workspace path, file URI, line, and character to identify the symbol and retrieve its references.
Instructions
Find usages of a symbol at a specific location.
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": {
"workspacePath": "<workspacePath>",
"fileUri": "<fileUri>",
"line": "<line>",
"character": "<character>"
},
"name": "java_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| fileUri | Yes | ||
| character | Yes | ||
| workspacePath | Yes |