Set Vertex Color
set_vertex_colorPaint selected, direction-facing, or all mesh faces into a color attribute for texture-free color that exports as COLOR_0, with optional material wiring.
Instructions
Paint the faces picked (faces, facing) or all into a color attribute. Returns: faces painted, materials wired, and not_wired (setups not BlenderLens's). WHEN TO CALL: for colour without textures; exports as COLOR_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": "<object>",
"color": "<color>"
},
"name": "set_vertex_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | As base_color | |
| faces | No | Indices from get_mesh | |
| facing | No | World direction | |
| object | Yes | Name | |
| attribute | No | Default Col, made white | |
| tolerance | No | Degrees off facing (30) | |
| use_in_material | No | Wire into its materials (true) |