get_project_structure
View the package hierarchy of a loaded Java project, showing source roots, packages, and file counts. Requires load_project first; set maxDepth and includeFiles.
Instructions
Get project structure showing package hierarchy.
USAGE: Call to see the package tree of the loaded project OUTPUT: Source roots with packages and file counts
maxDepth outside 1 to 20 is INVALID_PARAMETER.
Requires load_project to be called first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_project_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Maximum package depth to show, 1 to 20 (default 10) | |
| includeFiles | No | Include file names in each package (default false) |