resize_canvas
Resizes the canvas without redrawing, keeping existing art anchored. Grows with blank padding or crops to add margins, reposition drawings, or make room before compositing.
Instructions
Resize the canvas without redrawing — keep the existing art and re-anchor it. Growing pads with blanks; shrinking crops what falls outside. Use it to add margin, reposition a drawing, or make room before compositing.
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 in cells. | |
| anchor | No | Where to hold the existing art as the canvas resizes. | top-left |
| height | Yes | New canvas height in cells. |