tilemap_clear
Clears all cells in a specified TileMap layer to reset the tilemap for new level layouts or edits.
Instructions
Clear all cells in a TileMap layer.
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_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | TileMap layer index (default: 0) | |
| node_path | Yes | Path to the TileMap node |