generate_texture
Generate a 2D retro pixel art texture (wood, stone, brick, grass, metal, water) on a target canvas using deterministic algorithms. Specify texture type and optional seed, palette, and options for consistent results.
Instructions
Procedurally synthesizes a 2D retro pixel art texture (wood, stone, brick, grass, metal, water) using deterministic algorithms.
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": {
"canvas_id": "<canvas_id>",
"texture_type": "<texture_type>"
},
"name": "generate_texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Deterministic random seed (e.g. 1337) | |
| options | No | Generator-specific options (e.g. { brickWidth: 16, mortarThickness: 2 }) | |
| palette | No | Optional palette to switch to before generating | |
| canvas_id | Yes | Target canvas ID | |
| texture_type | Yes | Procedural texture generator type |