generate_sequence_diagram
Generate a sequence diagram from a natural language description of an interaction flow. Produces Mermaid, PlantUML, or python_diagrams code with an optional custom title.
Instructions
Generate a sequence diagram from a natural language description.
Args:
description: Natural language description of the interaction flow
Example: "User logs in, system validates credentials, database returns user data"
output_format: Output format - "mermaid", "plantuml", or "python_diagrams" (default: "mermaid")
title: Optional custom title for the diagram
Returns:
Dictionary with generated diagram code and metadata
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"description": "<description>"
},
"name": "generate_sequence_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| description | Yes | ||
| output_format | No | mermaid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |