check
Validate Mermaid diagram syntax by checking if text is a valid diagram. Returns an empty string for valid diagrams or an error message for invalid ones.
Instructions
Check if the text is a valid mermaid diagram. Returns an empty string if valid, otherwise returns the error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |