java_document_symbols
Retrieve the hierarchical outline of symbols in a Java file to quickly understand its structure and navigate code elements.
Instructions
Get the hierarchical outline of 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": {
"workspacePath": "<workspacePath>",
"fileUri": "<fileUri>"
},
"name": "java_document_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileUri | Yes | The absolute file path or file:// URI. | |
| workspacePath | Yes | Absolute path to the Java project root. |