aseprite_crop
Crop every frame to a rectangle to trim dead space around artwork. Specify x, y, width, and height to define the crop area.
Instructions
Crop every frame to a rectangle. Use to trim dead space around the artwork.
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": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "aseprite_crop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Left edge (0-based). | |
| y | Yes | Top edge (0-based). | |
| width | Yes | ||
| height | Yes | ||
| document | No | Document to act on: a short name inside the art folder ("hero"), a relative path, or an absolute .aseprite path. Omit to use the active document. |