generate_flowchart
Generate a flowchart from a natural-language process description, with Mermaid or Python Diagrams output and an optional custom title.
Instructions
Generate a flowchart from a process description.
Args:
description: Natural language description of a process or workflow
Example: "User places order, check inventory, if available process payment, send confirmation"
output_format: Output format - "mermaid" or "python_diagrams" (default: "mermaid")
title: Optional custom title for the flowchart
Returns:
Dictionary with generated flowchart 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_flowchart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| description | Yes | ||
| output_format | No | mermaid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |