tilemap_set_cell
Sets a single cell on a Godot TileMap node using X/Y coordinates and optional layer, source, and atlas tile coordinates.
Instructions
Set a single cell in a TileMap node.
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>",
"x": "<x>",
"y": "<y>"
},
"name": "tilemap_set_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Cell X coordinate | |
| y | Yes | Cell Y coordinate | |
| layer | No | TileMap layer index (default: 0) | |
| atlas_x | No | Atlas tile X coordinate | |
| atlas_y | No | Atlas tile Y coordinate | |
| node_path | Yes | Path to the TileMap node | |
| source_id | No | TileSet source ID |