go_to_definition
Navigate from Java symbol references to their definitions to understand code structure. Returns file path, line, and column coordinates for precise location.
Instructions
Navigate to symbol definition.
USAGE: Position cursor on a symbol reference, returns definition location. OUTPUT: File path, line, column of the definition.
IMPORTANT: Uses ZERO-BASED coordinates. If editor shows 'Line 14, Column 5', pass line=13, column=4
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to source file (absolute or relative to project) | |
| line | Yes | Zero-based line number | |
| column | Yes | Zero-based column number |