Import scene
import_sceneCreates a new drawing from an Excalidraw scene JSON file and returns its link. Use it to turn saved .excalidraw files into editable Excaliself drawings.
Instructions
Creates a NEW drawing from an Excalidraw scene: the JSON of a .excalidraw file, as Excalidraw's "Save to file" writes it, with images inline in "files". Returns its link. To draw from a description instead, use create_drawing.
Up to 50,000 elements and 20 MB of element JSON; images up to 20 MB in all. The whole call must stay under 4 MB; send a large scene as JSON text, not an object. Images with no entry in "files" open as placeholders.
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": {
"scene": "<scene>"
},
"name": "import_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Default "Untitled". | |
| scene | Yes | The .excalidraw file: its JSON text, or that JSON as an object, with "elements", and "files" for images. | |
| space | No | Default "private". Ignored with folderId: a drawing takes its folder's Space. | private |
| folderId | No | Put it in this folder (see list_folders). |