Generate Uml Diagram Tool
generate-uml-diagramUse this when the user supplies source code and asks for UML, Mermaid, sequence, class, component, or architecture diagrams. State-changing generation action: consumes AI credits, creates a generation, and optionally writes markdown to a Space after authorization. Use browser guidance for local uploads or full repository diagrams.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional generation name. | |
| filename | Yes | Filename for the source code. | |
| source_code | Yes | Source code to analyze. | |
| diagram_type | Yes | Class Diagrams, Sequence Diagrams, Use Case Diagrams, Activity Diagrams, Component Diagrams, State Diagrams, or Object Diagrams. | |
| save_to_space | No | Optional destination Space item. |