set_color
Changes the color of a Unity object, sprite, or light by accepting a target and a color name or #RRGGBB value.
Instructions
Change the color of an object, sprite or light.
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": {
"target": "<target>",
"color": "<color>"
},
"name": "set_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Name or #RRGGBB | |
| target | Yes |