resize_canvas
Change a sprite's canvas size by providing a file path and new width and height, preserving the existing artwork.
Instructions
Resize an existing sprite's canvas in place.
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": {
"path": "<path>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| width | Yes | ||
| height | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |