pixelart_draw_rect
Draw a rectangle outline or filled shape on a pixel art canvas by specifying coordinates and RGBA color.
Instructions
Draw a rectangle (outline or filled) on a canvas.
Args: params: canvas_id, x0, y0, x1, y1, color, fill. Returns: Confirmation string.
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": {
"params": "<params>"
},
"name": "pixelart_draw_rect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |