get_hierarchy
Browse the instance tree below a given path to list structural children (submodules and leaf primitives). Excludes assign glue, reported as assign_count.
Instructions
Browse the instance tree below path (or the top instance). Use this
for structural children; use find for design-wide name search or get_stats
for aggregate model counts. Lists only non-assign
children (real submodules + leaf primitives); assign glue is reported as
assign_count, not enumerated. Each child carries a leaf flag (submodule
vs leaf primitive). depth<=5; the non-assign set is paginated at the root
via limit/cursor (next_cursor/has_more), deeper levels via children_truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Hierarchical instance path; omit to start at the top instance. | |
| depth | No | Tree depth from 1 through 5; out-of-range values are clamped. | |
| limit | No | Maximum non-assign children per level; root default 20, maximum 100. | |
| cursor | No | Opaque root-level next_cursor from a previous response. |