ea_get_package_tree
Retrieve package hierarchy from Enterprise Architect models. Returns top-level packages or child packages up to a specified depth, with each node showing id, name, parentId, and elementCount.
Instructions
Navigate the package hierarchy. Without parameters, returns top-level packages. With a packageId, returns that package's children up to the specified depth. Each node carries id, name, parentId, and elementCount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels deep to recurse (max 3, default 1) | |
| packageId | No | Package ID to get children of. Omit for top-level packages. |