get_usd_prim_metadata
Read metadata for a USD prim on a registered stage, returning one key's value or all authored and fallback entries with a count. Read-only.
Instructions
Read the metadata of a prim on a registered USD stage: one key (present plus value as {type, value}) or, with no key, all entries (authored and fallback) plus count. Above 100 entries only count and a note return; unsupported value types become a placeholder string. Read-only.
Returns: { present: bool, key: string, value: object, metadata: object, count: number, note?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Metadata field to read, e.g. "documentation"; empty or omitted (default) returns all entries. | |
| prim_path | Yes | Absolute SdfPath of an existing prim, e.g. "/World/Cube". | |
| 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. |