add_layer
Add a new layer to a pixel art project for organizing elements, enabling separate editing of components like foreground, background, or animation frames.
Instructions
Add a new layer to the project
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": {
"projectId": "<projectId>"
},
"name": "add_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project identifier | |
| layerName | No | Name for the new layer |