resize_canvas
Scale the canvas and all its content to new dimensions for an Aseprite file. Specify new width and height in pixels.
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 |
|---|---|---|---|
| filename | Yes | ||
| width | Yes | ||
| height | Yes |