Validate And Render Mermaid Diagram
validate_and_render_mermaid_diagramFull Description
Use this tool to output a Mermaid diagram:
- The tool will validate the diagram syntax and render it to a UI widget.
- The widget will contain the diagram code, a "Copy Code" button, and a rendered diagram.
- If the diagram is invalid, the widget will give user a link to repair the diagram in Mermaid Live.
Parameters (1 required, 1 optional)
Required
diagramCodestringThe Mermaid diagram code to validate and render
Optional
titlestringOptional title for the diagram