Export a diagram
export_diagramExport diagrams as drawio or SVG files, returning raw content for immediate use. Supports cloud architecture diagrams.
Instructions
Export a diagram as a raw file: drawio (open at app.diagrams.net) or svg. Returns the file content directly. SVG export is a paid feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | drawio or svg | drawio |
| diagram_id | Yes | The diagram id |