Assign Material
shading.assign_materialAssign materials to meshes or face components and automatically resolve the shading group.
Instructions
Assign a material to meshes or face components. Resolves the shading group from the material automatically.
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": {
"material": "<material>",
"targets": "<targets>"
},
"name": "shading.assign_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Meshes or face components to assign the material to | |
| material | Yes | Name of the material (or shading group) to assign |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | Yes | ||
| assigned | Yes | ||
| material | Yes | ||
| shading_group | Yes |