set_cells
Populate a TileMapLayer in a Godot scene with tiles by specifying each cell's x/y coordinate, TileSet source ID, and atlas coordinates.
Instructions
Set tile cells on a TileMapLayer node in a scene
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": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>",
"nodePath": "<nodePath>",
"cells": "<cells>"
},
"name": "set_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cells | Yes | Array of cells to set on the TileMapLayer | |
| nodePath | Yes | Path to the TileMapLayer node (e.g., "root/TileMapLayer") | |
| scenePath | Yes | Path to the scene file (relative to project) | |
| projectPath | Yes | Path to the Godot project directory |