blender_material_slot_replace
Replace or clear a material in a specific Blender object slot. Choose OBJECT link to affect only that object or DATA link to update all objects sharing the mesh, with shared-data handling options.
Instructions
Set one slot's material (omit material to empty it). link='OBJECT' changes only this object; a DATA change affects every object sharing the mesh and then needs shared_data.
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>",
"index": "<index>"
},
"name": "blender_material_slot_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | ||
| index | Yes | ||
| object | Yes | ||
| material | No | ||
| shared_data | No | error |