create_layer
Adds a new named layer to the active sprite, optionally inside a parent group, for structured pixel art editing.
Instructions
Creates a new image layer in the active sprite.
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": {
"name": "<name>"
},
"name": "create_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New layer name | |
| parentGroup | No | Optional parent group folder name |