ai_diagram
Text to Mermaid diagram — Turn a plain-language description into Mermaid diagram source (type=flowchart default, sequence, class, er, state, gantt, mindmap, timeline, pie). Returns ready-to-render Mermaid code for GitHub/GitLab markdown, Notion, Obsidian or mermaid.live, with line and edge counts. Llama 3.3 70B on Workers AI. Price: $0.008 USDC (Base, via x402).
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": {
"description": "<description>"
},
"name": "ai_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | User signs up, verifies email, then completes onboarding or abandons |