render_svg
Render Excalidraw element JSON to SVG files using headless Chromium for automated diagram export.
Instructions
Render Excalidraw element JSON to SVG via headless Chromium (Playwright).
NOT IMPLEMENTED YET. Day 2 work: port bassimeledath's warm-Chromium exportToSvg approach into sketchboard_excalidraw_mcp/render.py using a locally vendored excalidraw JS bundle (no CDN dependency at runtime).
Return Format
{"success": False, "error": str, "error_type": "not_implemented", "suggestions": list[str]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | Path to write the output SVG file. | |
| elements_json | Yes | Excalidraw elements as a JSON array string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||