get_usd_layer_info
Read metadata for one layer in a USD stage's stack: identifier, real path, dirty/muted flags, and sublayer paths. Use it to inspect layer state and composition without changes.
Instructions
Read metadata for a single layer in the stage's stack (identifier, real path, dirty/muted flags, sublayer paths).
Returns: { stage_name: string, layer_index: int, identifier: string, real_path: string, dirty: bool, is_muted: bool, sub_layer_paths: [string], sub_layer_count: int, errors: [string]? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage_name | Yes | Name the stage was registered under. | |
| layer_index | No | 0-based index into the layer stack (root layer is 0; session layers follow). Defaults to 0. Out-of-range returns an error rather than a synthetic empty payload. |