canvas_export
Save the whiteboard to a .excalidraw JSON or PNG file at a path inside the workspace, preserving the board for sharing or later reuse.
Instructions
Save the board to a file: .excalidraw JSON (default) or PNG. Relative paths resolve against the workspace.
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": {
"path": "<path>"
},
"name": "canvas_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path inside the workspace or temp dir | |
| format | No | Default from extension, else excalidraw |