manage_cel
Clear, move, or copy Aseprite cels between frames and layers, with relative/absolute positioning and opacity control.
Instructions
Clear, move (relative dx/dy or absolute x/y, plus opacity), or copy cels between frames and 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": {
"file": "<file>",
"action": "<action>"
},
"name": "manage_cel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Absolute X position (for move). | |
| y | No | Absolute Y position (for move). | |
| dx | No | Relative X offset (for move). | |
| dy | No | Relative Y offset (for move). | |
| file | Yes | ||
| frame | No | ||
| layer | No | ||
| action | Yes | ||
| opacity | No | Cel opacity (for move). | |
| preview | No | Return an inline PNG preview in the same Aseprite call (true or options object). | |
| toFrame | No | Destination frame(s) (for copy). | |
| toLayer | No | Destination layer (for copy). | |
| fromFrame | No | Source frame (for copy). | |
| fromLayer | No | Source layer (for copy). |