get_hover_info
Retrieve hover documentation, including signature and Javadoc, for any symbol in a Java source file by specifying its zero-based line and column position.
Instructions
Get hover information (documentation) for a symbol at a position.
USAGE: Position on any symbol OUTPUT: Signature, Javadoc, and quick info similar to IDE hover
IMPORTANT: Uses ZERO-BASED coordinates.
Requires load_project to be called first.
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>",
"column": "<column>"
},
"name": "get_hover_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Zero-based line number | |
| column | Yes | Zero-based column number | |
| filePath | Yes | Path to source file |