create_sequence_diagram
Generate a hand-drawn UML sequence diagram from participants and messages, using solid or dashed arrows for requests and responses. Outputs an Excalidraw file for quick visualization.
Instructions
Create a UML-style sequence diagram.
Generates a hand-drawn style sequence diagram with participants, lifelines, and messages. Supports solid arrows for requests and dashed arrows for responses.
Args: participants: List of participant names (ordered left to right) messages: List of messages with from, to, label, and optional style title: Optional diagram title output_path: Optional output file path (default: /tmp/sequence.excalidraw)
Returns: Absolute path to the generated .excalidraw file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | light | |
| title | No | ||
| messages | Yes | ||
| output_path | No | ||
| participants | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |