tilemap_fill_rect
Fill a rectangular region of a TileMap with one tile by specifying two opposite corners, which can be given in any order.
Instructions
Fill the inclusive grid rectangle between corners x1,y1 and x2,y2 with one tile (corners in any order)
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": {
"node_path": "<node_path>"
},
"name": "tilemap_fill_rect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| layer | No | ||
| atlas_x | No | ||
| atlas_y | No | ||
| node_path | Yes | ||
| source_id | No | ||
| alternative | No |