GetPackageTree
Retrieve a hierarchical tree of an ABAP package including all subpackages and objects with names, types, and descriptions.
Instructions
[high-level] Retrieve complete package tree structure including subpackages and objects. Returns hierarchical tree with object names, types, and descriptions.
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": {
"package_name": "<package_name>"
},
"name": "GetPackageTree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Include diagnostic metadata in response (counts, types, hierarchy info). Default: false | |
| max_depth | No | Maximum depth for recursive package traversal. Default: 5 | |
| package_name | Yes | Package name (e.g., "ZMY_PACKAGE") | |
| include_subpackages | No | Include subpackages recursively in the tree. If false, subpackages are shown as first-level objects but not recursively expanded. Default: true | |
| include_descriptions | No | Include object descriptions in response. Default: true |