GetPackageContents
Retrieve all objects in an ABAP package as a flat list, with optional recursive inclusion of subpackages up to a specified depth.
Instructions
[read-only] Retrieve objects inside an ABAP package as a flat list. Supports recursive traversal of subpackages.
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": "GetPackageContents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Maximum depth for recursive package traversal (default: 5) | |
| package_name | Yes | Name of the ABAP package (e.g., "ZMY_PACKAGE") | |
| include_subpackages | No | Include contents of subpackages recursively (default: false) | |
| include_descriptions | No | Include object descriptions in response (default: true) |