draw_pixel
Draw a single pixel at specified coordinates with a chosen color in pixel art projects. Use this tool to place individual pixels for detailed editing, corrections, or precise artwork creation within animation frames and layers.
Instructions
Draw a single pixel
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": {
"projectId": "<projectId>",
"x": "<x>",
"y": "<y>",
"color": "<color>"
},
"name": "draw_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project identifier | |
| layerIndex | No | Layer index (default: 0) | |
| frameIndex | No | Frame index (default: 0) | |
| x | Yes | X coordinate | |
| y | Yes | Y coordinate | |
| color | Yes | Color in hex format (e.g., "#FF0000" or "rgba(255,0,0,1)") |