list_usd_prims
List child or recursive descendant prims under a prim on a registered USD stage, returning prim_path, type_name, active state, and count.
Instructions
List the prims under one prim (default the pseudo root "/") on a registered USD stage, each with prim_path, type_name and active, plus count: its direct children, or with recursive=true its whole subtree in depth-first order. Only active, loaded, defined, non-abstract prims appear, and instance proxies are not traversed. Read-only.
Returns: { prims: [{ prim_path, type_name, active }], count: number }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | false (default) lists the direct children only; true lists every descendant, each parent before its children. | |
| stage_name | No | Name the stage was registered under by create_usd_stage or open_usd_stage; a stage already in the USD cache also matches by the end of its root layer identifier. | |
| prim_path_prefix | No | SdfPath of the prim whose children are listed; it must exist. Default "/" (the pseudo root). |