add_layer
Add a new layer or layer group to an Aseprite file, placing it on top or inside an existing group.
Instructions
Add a layer (or a layer group when group=True) on top. parent places it inside an
existing group.
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": {
"path": "<path>",
"name": "<name>"
},
"name": "add_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| group | No | ||
| parent | No |