java_get_hover
Retrieve hover information for a Java symbol by providing its file path, line number, and character offset.
Instructions
Get hover information for a symbol.
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": {
"filePath": "<filePath>",
"line": "<line>",
"character": "<character>"
},
"name": "java_get_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file or a URI (e.g. jdt://...) | |
| line | Yes | Line number (0-indexed) | |
| character | Yes | Character offset (0-indexed) |