import_image_as_layer
Import an image into a named layer and frame, creating the layer when missing, to integrate visuals into Aseprite projects.
Instructions
Import an image into a named layer and frame, creating the layer when it does not exist.
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>",
"image_path": "<image_path>",
"layer_name": "<layer_name>"
},
"name": "import_image_as_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| filename | Yes | ||
| image_path | Yes | ||
| layer_name | Yes | ||
| frame_index | No |