trim_sprite
Auto-crop the canvas to the bounding box of all non-transparent content across every frame. Use it to remove empty space and tighten sprite dimensions before export.
Instructions
Auto-crop the canvas to the bounding box of all non-transparent content (across every frame).
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>"
},
"name": "trim_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes |