assign_material
Assign an existing material to an object's material slot using object name, material name, and optional slot index.
Instructions
Assign an existing material to an object's material slot.
Parameters:
object_name: Target object
material_name: Material to assign (must already exist)
slot: Material slot index (default 0)
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>",
"material_name": "<material_name>"
},
"name": "assign_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | ||
| object_name | Yes | ||
| material_name | Yes |