New canvas
new_canvasStart a fresh drawing while preserving the current one as a saved project. Create initial layers and open the live browser UI when no viewer is connected.
Instructions
Start a NEW drawing (discards the current one from the view; it stays saved as a project). Creates layers bottom→top from layers. Opens the live UI in the browser if no viewer is connected.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "new_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Title (also the project folder name) | |
| width | No | px (default 1600) | |
| height | No | px (default 1200) | |
| layers | No | Initial layer names bottom→top, e.g. ["Sky","Background","Sketch","Ink","Color"] (default ["Layer 1"]) | |
| openUi | No | Open the browser UI if no viewer is connected (default true) | |
| background | No | Paper color, or "transparent" (default #ffffff) |