create_tilemap_layer
Creates a tilemap layer with an empty grid, setting tile size and optional rows/columns to define a pixel art tile layout.
Instructions
Create a tilemap layer with an empty grid.
Args:
name: Layer name.
tile_width, tile_height: Tile size in pixels (sets the sprite grid).
columns, rows: Grid size in tiles (default: enough to cover the canvas).
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": {
"filename": "<filename>",
"name": "<name>"
},
"name": "create_tilemap_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| rows | No | ||
| frame | No | Default: 1. | |
| columns | No | ||
| filename | Yes | ||
| tile_width | No | Default: 16. | |
| tile_height | No | Default: 16. |