set_body_color
Set the color of a 3D model body by specifying RGB values and optional opacity.
Instructions
Set the color (appearance) of a body using RGB values.
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": {
"body_name": "<body_name>",
"red": "<red>",
"green": "<green>",
"blue": "<blue>"
},
"name": "set_body_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body_name | Yes | Name of the body. | |
| red | Yes | Red component (0-255). | |
| green | Yes | Green component (0-255). | |
| blue | Yes | Blue component (0-255). | |
| opacity | No | Opacity (0.0 = transparent, 1.0 = opaque). | |
| component_name | No | Optional component name. |