Skip to main content
Glama

export_diagram

Export Excalidraw diagrams to PNG, SVG, or JSON files for saving and sharing. Supports multiple sessions and requires an active browser connection.

Instructions

Export the current diagram to a PNG, SVG, or JSON file.

Notes:

  • JSON format is saved directly by the server.

  • PNG/SVG are generated by the browser and sent back to the server to save.

  • Requires start_session to be called first and the browser to be connected.

Multi-session support: Specify sessionId to target a specific session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdNoSession ID. If not provided, uses default session.
pathYesFile path to save (including filename)
formatNoExport formatjson

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Scofieldfree/excalidraw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server