sequence_diagram
Build Mermaid sequence diagrams from participants and ordered messages, including notes, activation, and alt/loop blocks while rejecting unknown participants.
Instructions
Build a Mermaid sequence diagram from participants and ordered messages, with optional activation, notes and alt/loop blocks. Rejects unknown participants.
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": {
"title": "<title>",
"participants": "<participants>",
"messages": "<messages>"
},
"name": "sequence_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| messages | Yes | ||
| participants | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| mermaid | No | ||
| sources | No | ||
| messages | No | ||
| validated | No | ||
| limitation | No |