Export Excalidraw canvas
export_canvasExport a saved Excalidraw canvas as JSON, SVG, or PNG by specifying the project and canvas paths to download the file.
Instructions
Opens the export View and downloads the saved canvas as JSON, SVG, or PNG.
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": {
"projectPath": "<projectPath>",
"canvasPath": "<canvasPath>",
"format": "<format>"
},
"name": "export_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| canvasPath | Yes | Full workspace-relative canvas path under projectPath, for example designs/m3/main.excalidraw. Never pass only main.excalidraw. | |
| projectPath | Yes | Full workspace-relative project path, for example designs/m3. |