set_colors
Update a sketch's runtime color palette by providing the sketch ID and hex color key-value pairs.
Instructions
Update the runtime color palette values of a sketch's current state
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": {
"sketchId": "<sketchId>",
"colors": "<colors>"
},
"name": "set_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | Color key-value pairs to set (hex strings) | |
| sketchId | Yes | ID of the sketch to update |