get_usd_materials
Lists all USD materials on a stage, reporting surface shaders by render context, authored bindings, and geometry that renders each material.
Instructions
List all USD materials on a stage.
Each material reports surface_shaders keyed by render context: "surface" is the universal output, a UsdPreviewSurface for viewports and Storm, and "mtlx" is the MaterialX shader Karma renders. surface_shader is the mtlx one when present, so it agrees with get_material_info on the same material.
bound_to lists the prims a binding is authored on. rendered_on (up
to 50 paths) and rendered_on_count are the geometry that resolves to
the material for rendering, including geometry bound through a parent
or a collection; get_usd_bound_material says why for a given prim.
Args: node_path: LOP node path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_path": "<node_path>"
},
"name": "get_usd_materials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes |