create_canvas
Create a named canvas with specified pixel dimensions. Reuse a canvas name to replace an existing one, enabling programmatic pixel art setup.
Instructions
Create a new named canvas with given dimensions. If a canvas with this name exists, it is replaced.
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": "create_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Canvas name | default |
| width | Yes | Width in pixels | |
| height | Yes | Height in pixels |