tilemap_clear
Clear all tiles from a Godot TileMap layer or all layers when omitted.
Instructions
Clear a TileMapLayer, or one layer of a legacy TileMap when layer is given and every layer when it is omitted
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 | ||
| node_path | Yes |