resize_canvas
Scale the entire canvas and all its content to new pixel dimensions. Set width and height to resize an Aseprite file while keeping artwork proportions under your control.
Instructions
Scale the canvas and all its content to new dimensions.
Args: filename: Aseprite file to modify width: New canvas width in pixels height: New canvas height in pixels
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>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| filename | Yes |