display_mermaid
ChatGPTUse this tool to display a Mermaid diagram in an interactive UI widget. - The widget renders the diagram directly in the browser using the Mermaid library — no external service required. - The widget shows the diagram code, a "Copy Code" button, and the rendered diagram. - If the diagram has a syntax error, the widget will show the error and offer a repair option. Tips: - Always prefer this tool over using code blocks. - Use documentID when updating an existing diagram that already has a documentID.






