set_custom_tile_data
Set custom data values on specific tile cells in a Godot TileMapLayer, enabling per-tile attributes like terrain type or gameplay metadata.
Instructions
Set custom data layer values on specific tile cells in a TileMapLayer
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_custom_tile_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cells | Yes | Array of cells with custom data to set | |
| nodePath | Yes | Path to the TileMapLayer node | |
| scenePath | Yes | Path to the scene file (relative to project) | |
| projectPath | Yes | Path to the Godot project directory |