add_tile
Add a new tile to a layer's tileset in Aseprite, optionally filled with a solid color, and get the new tile index for further editing.
Instructions
Add a new tile to the layer's tileset (optionally filled with a solid colour). Returns the new tile's index.
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>",
"layer": "<layer>"
},
"name": "add_tile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| frame | No | Default: 1. | |
| layer | Yes | ||
| filename | Yes |