PlantUML
PlantUML
Tool
Generate Plantuml Diagram
generate_plantuml_diagramGenerate 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.
Pricing
Per call
$0.01
Model
flat
Pay only for what you use. No subscriptions.
Inputs
format
stringplantuml_code *
stringoutput_path
stringTry It
API
MCP Config
Input Parameters
svg
Output image format (SVG or PNG)
PlantUML diagram code. Will be automatically validated for syntax errors before generating the diagram URL.
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.

