move_region
Relocate a selected region of pixels by a horizontal and vertical offset, automatically erasing the original position for precise pixel art editing.
Instructions
Move a region by (dx,dy), clearing its old location.
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": {
"doc_id": "<doc_id>",
"region": "<region>",
"dx": "<dx>",
"dy": "<dy>"
},
"name": "move_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | Yes | ||
| dy | Yes | ||
| clip | No | Silently discard out-of-bounds pixels instead of rejecting (default false) | |
| frame | No | Frame index, 0-based (default: active frame) | |
| layer | No | Layer id or name (default: active layer) | |
| doc_id | Yes | Document id | |
| region | Yes | Region: exactly one of 'rect', 'pixels', or 'selection' | |
| render | No | Include a render of the change (default true) | |
| ignore_symmetry | No | Skip symmetry mirroring for this call (default false) |