set_material
Assign a material or color to a SketchUp component by its ID or name, enabling targeted scene material updates through the MCP server.
Instructions
Aplica material/color a componente. Colores: Red, Blue, #ff0000, etc.
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": {
"id_or_name": "<id_or_name>"
},
"name": "set_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| material | No | Red | |
| id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |