reassign_material_slot
Reassign all faces from one material slot to another on a target mesh, replacing the source material with the destination material across the entire object.
Instructions
Reassign all faces from one material slot to another.
Useful for replacing one material with another across the entire mesh.
Args: object_name: Target mesh object. from_slot: Source material slot index. to_slot: Destination 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>",
"from_slot": "<from_slot>",
"to_slot": "<to_slot>"
},
"name": "reassign_material_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_slot | Yes | ||
| from_slot | Yes | ||
| object_name | Yes |