xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
PlantUML logo

Generate Plantuml Diagram

generate_plantuml_diagram

Generate a PlantUML diagram with automatic syntax validation and error reporting for auto-fix workflows. Returns embeddable image URLs for valid diagrams or structured error details for invalid syntax that can be automatically corrected. Optionally saves the diagram to a local file.

$0.01/call
Flat rate
PlantUML
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to generate a plantuml diagram with automatic syntax validation and error reporting for auto-fix workflows. returns embeddable image urls for valid diagrams or structured error details for invalid syntax that can be automatically corrected. optionally saves the diagram to a local file.. This is part of the PlantUML provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 2+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("plantuml/generate_plantuml_diagram")
  2. xpay_run — Execute: xpay_run("plantuml/generate_plantuml_diagram", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
formatstringNoOutput image format (SVG or PNG)
plantuml_codestringYesPlantUML diagram code. Will be automatically validated for syntax errors before generating the diagram URL.
output_pathstringNoOptional. Path to save diagram locally. Automatically creates all necessary parent directories. Restricted to current working directory by default. Set PLANTUML_ALLOWED_DIRS env var (colon-separated paths, or "*" for unrestricted) to allow additional directories. Only .svg and .png extensions permitted.

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • PlantUML (all tools) — 3 tools
  • Encode Plantuml — $0.01/call
  • Decode Plantuml — $0.01/call

Links

  • Tool page: https://xpay.tools/plantuml/generate-plantuml-diagram/
  • Provider: https://xpay.tools/plantuml/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("plantuml/generate_plantuml_diagram")
// 2. Execute
xpay_run("plantuml/generate_plantuml_diagram", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

format

stringNo

Output image format (SVG or PNG)

plantuml_code

string
Yes

PlantUML diagram code. Will be automatically validated for syntax errors before generating the diagram URL.

output_path

stringNo

Optional. Path to save diagram locally. Automatically creates all necessary parent directories. Restricted to current working directory by default. Set PLANTUML_ALLOWED_DIRS env var (colon-separated paths, or "*" for unrestricted) to allow additional directories. Only .svg and .png extensions permitted.

Related Tools from PlantUML
Encode Plantuml — $0.01Decode Plantuml — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/plantuml/generate-plantuml-diagram/SKILL.md
CLI
npx @xpaysh/cli install plantuml/generate-plantuml-diagram
Manual
curl -o SKILL.md https://xpay.tools/skills/plantuml/generate-plantuml-diagram/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

PlantUML

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service