import_image_as_layer
Imports an external PNG or image file into a new Aseprite layer at a chosen X/Y position, creating a reference or trace layer for concept-art intake in one undoable step.
Instructions
Import an external image file (PNG, etc.) into a new layer at (x, y) — a
reference/trace layer for concept-art intake. 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": {
"image_path": "<image_path>"
},
"name": "import_image_as_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| file | No | ||
| image_path | Yes | ||
| layer_name | No |