materials
materials
¶
MCP tool wrappers for Houdini materials and shaders operations.
Each tool delegates to the corresponding handler running inside Houdini via the HTTP bridge.
Functions:
| Name | Description |
|---|---|
create_material_network |
Create a new material network in /mat. |
get_material_info |
Get detailed information about a material node. |
list_material_types |
List available VOP/material node types. |
list_materials |
List all material nodes under a root path. |
Functions¶
create_material_network
async
¶
create_material_network(
ctx: Context,
name: str,
shader_type: str = "principled",
params: Optional[dict[str, Any]] = None,
) -> dict
Create a new material network in /mat.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
Context
|
MCP context. |
required |
|
str
|
Name for the new material node. |
required |
|
str
|
Shader type name ("principled", "materialx", etc.). |
'principled'
|
|
Optional[dict[str, Any]]
|
Parameter name-value pairs to set on the shader. |
None
|