art.canvas.draw_noise
Fill a canvas region with random noise using specified hex colors to create textures, grain, or procedural pixel-art effects.
Instructions
Fill a region with random noise using specified colors.
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>",
"colors": "<colors>"
},
"name": "art.canvas.draw_noise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left X coordinate | |
| y | Yes | Top-left Y coordinate | |
| width | Yes | Region width | |
| colors | Yes | Array of hex color strings to randomly pick from | |
| height | Yes | Region height | |
| density | No | Probability of placing a pixel (0-1, default 0.5) | |
| session_id | Yes | Canvas session ID |