add_palette_color
Add a new color to the pixel art palette. Fails when the palette has reached the maximum of 64 colors.
Instructions
Append a color to the palette. Fails when the palette is full (64 entries).
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": {
"doc_id": "<doc_id>",
"hex": "<hex>"
},
"name": "add_palette_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | ||
| name | No | ||
| doc_id | Yes | Document id |