Manage layers
aseprite_layerManage Aseprite layers by creating, selecting, deleting, renaming, or toggling visibility. Returns the current sprite status after each action.
Instructions
Create (new, becomes active), activate (select), delete, rename, or show/hide (visible) a layer. Returns the sprite status.
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": {
"action": "<action>",
"name": "<name>"
},
"name": "aseprite_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layer name (for new: name of the new layer) | |
| action | Yes | ||
| newName | No | rename only | |
| visible | No | visible only |