validate_mermaid_diagram
Validate Mermaid diagram code to ensure it renders correctly, providing line-specific error feedback for quick debugging.
Instructions
Validate if a Mermaid diagram can be rendered successfully
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "validate_mermaid_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Mermaid diagram code to validate | |
| options | No | Validation options |