set_tile_cell
Set a tile cell in a Godot TileMap or TileMapLayer within a specified scene, providing coordinates, source ID, and atlas details.
Instructions
Set a TileMap or TileMapLayer cell using Godot's native API.
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": {
"scenePath": "<scenePath>",
"nodePath": "<nodePath>",
"x": "<x>",
"y": "<y>",
"sourceId": "<sourceId>"
},
"name": "set_tile_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| layer | No | ||
| atlasX | No | ||
| atlasY | No | ||
| nodePath | Yes | ||
| sourceId | Yes | ||
| scenePath | Yes | ||
| projectPath | No | Optional absolute Godot project path. Defaults to the project selected in Godot MCP Toolkit. | |
| alternativeTile | No |