set_pixel
Set a single pixel on a pixel art canvas at specified coordinates with a given color. Enables programmatic pixel-by-pixel image creation.
Instructions
Set a single pixel on the canvas.
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": {
"x": "<x>",
"y": "<y>",
"color": "<color>"
},
"name": "set_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate | |
| y | Yes | Y coordinate | |
| color | Yes | Color: #rgb, #rrggbb, #rrggbbaa, or named (red, blue, transparent, etc.) | |
| canvas | No | Canvas name | default |