art.canvas.draw_dither
Add a dither pattern to a rectangular canvas region by selecting two hex colors and a checkerboard or ordered 2x2 pattern to create pixel-style texture.
Instructions
Apply a dither pattern to a rectangular region.
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": {
"session_id": "<session_id>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"color1": "<color1>",
"color2": "<color2>",
"pattern": "<pattern>"
},
"name": "art.canvas.draw_dither"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left X coordinate | |
| y | Yes | Top-left Y coordinate | |
| width | Yes | Region width | |
| color1 | Yes | First color as hex string | |
| color2 | Yes | Second color as hex string | |
| height | Yes | Region height | |
| pattern | Yes | Dither pattern type | |
| session_id | Yes | Canvas session ID |