set_vertex_color
Assign RGBA colors to specific vertices or loops of a mesh color attribute, targeting selected indices or the entire object.
Instructions
Set color on vertices/loops of a color attribute.
Args: object_name: Target mesh object. attribute_name: Name of the color attribute. color: RGBA color [R, G, B, A] (0-1). indices: Specific loop/vertex indices to color. None = all.
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>"
},
"name": "set_vertex_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| indices | No | ||
| object_name | Yes | ||
| attribute_name | No | Color |