resize_canvas
Adjust the active sprite's canvas dimensions to a new width and height with anchor placement, avoiding interpolation or blurring.
Instructions
Resizes the active sprite canvas dimensions without interpolation or blurring.
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": {
"width": "<width>",
"height": "<height>"
},
"name": "resize_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | New canvas width | |
| anchor | No | Anchor point for resizing | top_left |
| height | Yes | New canvas height |