assign_material
Assign a material to a 3D object, replacing a specified material slot or appending a new one to manage object materials in Blender.
Instructions
Assign a material to an object. If slot is specified, replaces that slot; otherwise appends a new slot.
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": {
"object": "<object>",
"material": "<material>"
},
"name": "assign_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | ||
| object | Yes | ||
| material | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||