add_group
Add a new empty group layer to an Aseprite file, with optional nesting inside an existing parent group. Organize layers into folder-like groups for structured pixel art projects.
Instructions
Add a new, empty group layer.
Combine with add_layer(group=...) / duplicate_layer(group=...) to build a grouped layer structure.
Args: filename: Name of the Aseprite file to modify group_name: Name of the new group parent_group: Optional existing group to nest the new group inside, by name or "group/subgroup" path (default: top level)
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": {
"filename": "<filename>",
"group_name": "<group_name>"
},
"name": "add_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| group_name | Yes | ||
| parent_group | No |