materials_set
Create or update SketchUp materials with color, texture, alpha, and optional PBR roughness; older SketchUp versions fall back when roughness is unsupported.
Instructions
Create/update material. Optional PBR roughness gracefully falls back on older SketchUp.
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": {
"name": "<name>"
},
"name": "materials_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| alpha | No | ||
| color | No | ||
| texture | No | ||
| model_id | No | ||
| roughness | No | ||
| active_path | No |