mirror_layer
Create symmetric pixel art by copying one half of a layer onto the other horizontally or vertically, with control over the source side and mirror axis.
Instructions
Mirror one half of a layer onto the other (build symmetric artwork).
Args:
direction: "horizontal" (reflect left<->right) or "vertical" (top<->bottom).
source_side: which half is copied: "first" (left/top) or "second" (right/bottom).
axis: mirror line position (x for horizontal, y for vertical); default = centre.
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>",
"layer": "<layer>"
},
"name": "mirror_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | ||
| frame | No | Default: 1. | |
| layer | Yes | ||
| filename | Yes | ||
| direction | No | Default: "horizontal". | horizontal |
| source_side | No | Default: "first". | first |