java_definition
Find the definition of a Java symbol by specifying its file location with line and character offset.
Instructions
Find the definition 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_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | 0-indexed line number | |
| fileUri | Yes | ||
| character | Yes | 0-indexed character offset | |
| workspacePath | Yes |