Save Excalidraw canvas
push_canvasSave the current Excalidraw canvas document to its bound path, using a compare-and-swap mechanism with a base revision and mutation ID to prevent conflicts.
Instructions
Saves the bound standard document with compare-and-swap.
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 | ||
| baseRevision | Yes |