definition
Finds where a Java symbol is declared and returns its kind, signature, Javadoc, overrides or extensions, plus JDK/library source version; Lombok members point to their generators.
Instructions
Where a symbol is defined, with kind, signature, javadoc and what it overrides or extends (like goToDefinition + hover). Lombok members point at what generates them. JDK and library symbols come from the JDK's src.zip and the -sources.jar files in the Gradle/Maven caches, saying which version.
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": {
"symbol": "<symbol>"
},
"name": "definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Name or exact SCIP symbol (forms: see the server instructions) | |
| project_root | No | Checkout or worktree to query (any directory in it); default: where the server started |