Ase Import Layer
ase_import_layerImport a PNG into an Aseprite sprite as a new layer at frame's origin, then save the sprite in place. Runs headless via Aseprite CLI.
Instructions
Import a PNG (e.g. an RD generation) into an .aseprite sprite as a new layer.
The image cel is placed at (0,0) on the given 1-based frame. The sprite file is saved in place. Runs headless via the Aseprite CLI.
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": {
"sprite_path": "<sprite_path>",
"image_path": "<image_path>",
"layer_name": "<layer_name>"
},
"name": "ase_import_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| image_path | Yes | ||
| layer_name | Yes | ||
| sprite_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||