set_canvas_size
Adjust a sketch’s canvas dimensions by selecting a preset or specifying explicit width and height in pixels.
Instructions
Change the canvas dimensions of a sketch using a preset or explicit width/height
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": {
"sketchId": "<sketchId>"
},
"name": "set_canvas_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Explicit width in pixels | |
| height | No | Explicit height in pixels | |
| preset | No | Canvas preset name | |
| sketchId | Yes | ID of the sketch to update |