clear_canvas
Remove all elements from a canvas file to create a blank slate before adding new elements or redesigning the drawing from scratch.
Instructions
Remove ALL elements from a canvas file, giving you a blank slate. Use this before add_canvas_elements when you want to redraw or redesign from scratch.
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": {
"workspace": "<workspace>",
"canvasPath": "<canvasPath>"
},
"name": "clear_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Workspace path or name | |
| canvasPath | Yes | Canvas file path relative to workspace (e.g., "documents/my-drawing.canvas.md") |