Group Layers
photopea_group_layersGroup multiple layers into a layer folder by specifying layer names. Use with get_layers to find names, and ungroup_layers to reverse. Organize your layers panel efficiently.
Instructions
Group multiple layers into a layer group (folder). Layers are specified by name — use get_layers to find layer names. Grouped layers can be ungrouped later with ungroup_layers.
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": {
"layers": "<layers>"
},
"name": "photopea_group_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | Yes | Array of layer names to include in the group (use get_layers to find names) | |
| groupName | No | Display name for the group folder in the layers panel |