Save Excalidraw canvas copy
save_canvas_copyAvoid overwriting the original by saving the current draft as a new canvas in the same project.
Instructions
Saves the bound draft as a new canvas in the same project.
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": {
"canvasPath": "<canvasPath>",
"newCanvasPath": "<newCanvasPath>",
"mutationId": "<mutationId>",
"document": "<document>"
},
"name": "save_canvas_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | ||
| canvasPath | Yes | Full workspace-relative canvas path under projectPath, for example designs/m3/main.excalidraw. Never pass only main.excalidraw. | |
| mutationId | Yes | ||
| newCanvasPath | Yes | Full workspace-relative canvas path under projectPath, for example designs/m3/main.excalidraw. Never pass only main.excalidraw. |