Convert structured text or outline into a Mermaid flowchart
text_to_mermaid_flowchartDeterministically convert a plain-text step list, numbered list, indented outline, or arrow chain (A -> B -> C) with optional Yes/No decision branches into valid Mermaid flowchart syntax, returning node and edge metadata. Pure rule-based engine with no LLM calls.
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": {
"text": "<text>"
},
"name": "text_to_mermaid_flowchart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Plain-text steps, numbered list, indented outline, or arrow chain (e.g. "Start -> Valid Input? -> Yes: Save -> Done"). | |
| title | No | Optional short diagram title used for the suggested export filename and header metadata. | |
| direction | No | Optional Mermaid flowchart layout direction: TD (top-down), TB, LR (left-to-right), RL, or BT. Defaults to TD. | TD |