tilemap_set_cell
Set a specific tile at grid coordinates in a Godot TileMapLayer or legacy TileMap, with options for layer, source, and atlas variant.
Instructions
Place one tile in a TileMapLayer or legacy TileMap at grid x,y
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_set_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| layer | No | ||
| atlas_x | No | ||
| atlas_y | No | ||
| node_path | Yes | ||
| source_id | No | ||
| alternative | No |