Merge layers
merge_layersCombine layers by merging one down, merging all visible layers, or flattening everything including the paper color into a single layer.
Instructions
Merge a layer down into the one below, merge all visible layers, or flatten everything (including the paper color) into one layer.
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": {
"mode": "<mode>"
},
"name": "merge_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| layer | No | For mode down. Layer id, name, or index (0 = bottom, -1 = top). Default: the active layer. |