merge_down
Merge the selected layer with the layer directly below it in the sprite file. Specify the file path, layer name, and save location.
Instructions
Merge a layer with the one below it
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": {
"filePath": "<filePath>",
"layerName": "<layerName>"
},
"name": "merge_down"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| layerName | Yes | Layer to merge down (will merge with layer below) | |
| savePath | No | Path to save |