tilemap_fill_rect
Fills a rectangular area of a TileMap with a specific tile using source ID and atlas coordinates. Populates tile grids.
Instructions
Fill a rectangular area of a TileMap with a tile
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": {
"path": "<path>",
"rect": "<rect>"
},
"name": "tilemap_fill_rect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | TileMap node path | |
| rect | Yes | Rectangle to fill | |
| source_id | No | TileSet source ID | |
| atlas_coords | No | Atlas coordinates [x, y] |