{"uid":"cap_peBK2p_X02n0Xb1eXx1wI","slug":"x402-gateway-mermaid-diagram-generator-9b6eabde","name":"x402-gateway Mermaid Diagram Generator","description":"x402-gateway tool: mermaid (market: bazaar)","url":"https://x402.freeq.one/market/bazaar/tools/mermaid?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tool":{"type":"string","description":"Tool name (see GET /tools for the catalog)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EyOpvzjyC32YM-plEHnh5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates Mermaid diagram code or renders Mermaid diagrams from a description or specification, accessible via micropayment-gated API","exampleAgentPrompt":"Generate a Mermaid sequence diagram showing the OAuth2 authorization code flow, including the steps between the user, client app, authorization server, and resource server.","exampleUseCases":[{"title":"Software architecture flowchart generation","prompt":"Can you create a Mermaid flowchart that shows how a user request flows through my microservices — starting from the API gateway, then through an auth service, then to the order service, and finally to a database?"},{"title":"Database ER diagram for documentation","prompt":"Generate a Mermaid ER diagram for a blog platform with users, posts, comments, and tags — show the relationships and key fields between each entity."},{"title":"CI/CD pipeline visualization","prompt":"Make me a Mermaid diagram showing a typical CI/CD pipeline: code commit triggers tests, then a build step, then staging deployment, then a manual approval gate, and finally production deployment."}],"resultDescription":"Returns generated Mermaid diagram code (e.g. flowchart, sequence, ER, class, or state diagram syntax) that can be rendered in any Mermaid-compatible viewer or documentation tool, or a rendered image of the diagram depending on the tool's implementation.","failureModes":["Invalid or unsupported diagram type requested — returns an error indicating unsupported specification","Malformed or ambiguous diagram description — may return incomplete or syntactically incorrect Mermaid code","Payment failure (402) — request rejected if USDC micropayment is not attached or insufficient","Tool name mismatch — if 'mermaid' is not passed as the tool parameter, the wrong tool may be invoked or an error returned","Overly complex diagrams may exceed token or processing limits, resulting in truncated output"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate Mermaid diagram syntax or renderings as part of an automated pipeline, documentation generator, or AI agent workflow — especially when a lightweight per-call micropayment model ($0.005 USDC) is preferable to a subscription. Best suited for agents that need on-demand diagram generation without managing a dedicated diagramming service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T06:37:58.922Z","isFirstParty":false,"canonicalSlug":"x402-gateway-mermaid-diagram-generator-9b6eabde"}