assign_material
Assign a material to an object's material slot. Specify object, material name, and optional slot index to control which slot receives the material.
Instructions
Assign a material to an object's material slot.
Args: object_name: Target object. material_name: Material to assign. slot: Material slot index.
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 |