open_drawio_xml
Opens draw.io editor with valid XML content to view, edit, or create engineering diagrams.
Instructions
Opens the draw.io editor with a diagram from XML content. Use this to view, edit, or create diagrams in draw.io format. The XML should be valid draw.io/mxGraph XML format. IMPORTANT: Do NOT use double hyphens (--) inside XML comments, as this is invalid XML and will break the parser. Use single hyphens or rephrase instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The draw.io XML content in mxGraphModel format. | |
| lightbox | No | Open in lightbox mode (read-only view). Default: false | |
| dark | No | Dark mode setting. Default: auto |