scatter_tiles
Scatter decorative tiles across a map region at target density, skipping occupied cells. Use focal point for density gradients to place grass, rocks, or flowers.
Instructions
Scatter clutter tile ids over a region with natural random distribution at a target density (fraction of cells), skipping occupied cells. Optional focal point with falloff for a density gradient (denser near a landmark). Use for flowers/bushes/rocks/tall grass instead of hand-placing lone tiles — fixes sparse/corner-clustered decoration. Deterministic given seed.
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": {
"mapId": "<mapId>",
"layer": "<layer>",
"tileIds": "<tileIds>",
"region": "<region>"
},
"name": "scatter_tiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| focal | No | Density gradient toward a point | |
| layer | Yes | Usually 1 (ground clutter) | |
| mapId | Yes | ||
| region | Yes | ||
| density | No | Fraction of cells to fill, 0..1 (default 0.12) | |
| tileIds | Yes | Tile ids to scatter (picked at random per cell) | |
| avoidOccupied | No | Skip non-empty cells (default true) |