blender_material_assign_faces
Assigns selected mesh faces to a material slot by face index, vertex group, or source slot, letting Blender objects use targeted materials without manual selection.
Instructions
Assign faces to a slot, given by 'slot' index or a 'material' already in a slot. Select faces with exactly one of face_indices (raw mesh indices), vertex_group (match 'all' or 'any' of a face's vertices) or from_slot.
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>"
},
"name": "blender_material_assign_faces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | ||
| match | No | all | |
| object | Yes | ||
| material | No | ||
| from_slot | No | ||
| min_weight | No | ||
| shared_data | No | error | |
| face_indices | No | ||
| vertex_group | No |