resize_canvas
Change canvas dimensions without scaling existing content, using an anchor point to position the original image within the new canvas.
Instructions
Change canvas size without scaling content. anchor: center, top, bottom_left, ...
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 | ||
| anchor | No | center | |
| height | Yes | ||
| project | No |