add_tile
Append an empty tile to a tilemap layer's tileset and return the new tile index plus updated tileset size, enabling incremental tilemap expansion in Aseprite projects.
Instructions
Append an empty tile to a tilemap layer's tileset; returns the new tile's
index and the tileset size. The first added tile is index 1 (tile 0 is the
reserved empty tile). 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": {
"layer": "<layer>"
},
"name": "add_tile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| layer | Yes |