Export drawing as .excalidraw file
export_sceneSave a drawing as an .excalidraw raw scene JSON file that Excalidraw can open; optionally embed images as base64, with files over 10 MB refused.
Instructions
Exports a drawing as an .excalidraw file: the raw scene JSON that Excalidraw's "Save to file" writes, which Excalidraw and excalidraw.com open. The file comes back attached as an embedded resource; clients that save attachments give you a file path to copy from. To understand a drawing, use read_drawing instead.
Images are left out by default: their elements stay, but show as missing images. With includeImages they are embedded as base64, which can be large. Files over 10 MB are refused.
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": {
"id": "<id>"
},
"name": "export_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A drawing id from list_drawings or search_drawings. | |
| includeImages | No | Embed the drawing's images. Default false. |