add_layer
Add a new layer to the active Aseprite sprite with custom name, type, and stack position.
Instructions
Add a new layer to the active sprite.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Layer name (default: 'New Layer') | |
| type | No | Layer type | |
| position | No | Stack position (1 = bottom). null = top. |