java_get_file_symbols
Retrieve all symbols defined in a Java file, including classes, methods, and fields. Provide the absolute file path or URI to get the complete symbol listing.
Instructions
Get all symbols (classes, methods, fields) defined in a specific file.
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>"
},
"name": "java_get_file_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the Java file or a URI (e.g. jdt://...) |