art.detail.texture
Apply texture patterns to rectangular regions on a canvas to add surface detail and visual variety to pixel-art assets.
Instructions
Apply a texture pattern to a rectangular region 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": {
"session_id": "<session_id>",
"pattern": "<pattern>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"colors": "<colors>",
"density": "<density>",
"seed": "<seed>"
},
"name": "art.detail.texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left X coordinate | |
| y | Yes | Top-left Y coordinate | |
| seed | Yes | Random seed | |
| width | Yes | Region width | |
| colors | Yes | Array of hex colors to use | |
| height | Yes | Region height | |
| density | Yes | Pattern density (0-1) | |
| pattern | Yes | Texture pattern name (noise_cluster/voronoi/grain/crack/speckle/cavity/edge_breakup) | |
| session_id | Yes | Canvas session ID |