create_tilemap_layer
Creates a tilemap layer with its own tileset on a tile_width x tile_height grid, starting with only the reserved empty tile 0. Add editable tiles afterward with add_tile.
Instructions
Create a tilemap layer with its own tileset on a tile_width x tile_height
grid. The new tileset starts with only tile 0, the reserved empty tile — use
add_tile to append editable tiles. One undo step. Headless: pass file.
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": {
"name": "<name>",
"tile_width": "<tile_width>",
"tile_height": "<tile_height>"
},
"name": "create_tilemap_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| name | Yes | ||
| tile_width | Yes | ||
| tile_height | Yes |