add_layer
Add a new transparent layer to a pixel art document, making it the active layer for editing. Optionally specify the insertion position.
Instructions
Add a new transparent layer (becomes the active layer).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| index | No | Insert position, 0=bottom (default: top) | |
| doc_id | Yes | Document id |