set_material_slot
Assign a given material to a specific slot on an object, replacing the slot's existing material.
Instructions
Set a specific material slot on an object to a given material.
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_name": "<object_name>",
"slot_index": "<slot_index>",
"material_name": "<material_name>"
},
"name": "set_material_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_index | Yes | ||
| object_name | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |