diagram
A picture of the model as Mermaid; edge data: list_references. Input: shape; id, domain, type or unit narrow it. aggregate, flow, lifecycle take a context's id; organization without id draws the company; system a landscape, holds its data; usecase, scenario a use case's; requirements a feature's, product's, use case's or requirement's. Returns mermaid, nodes, links, units, counts. Max 50 nodes.
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": {
"shape": "<shape>"
},
"name": "diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The process, the entity at a neighborhood's middle, the bounded context of a context map, or the aggregate or bounded context of an aggregate, flow or lifecycle picture, the group an organization is narrowed to, or the system drawn in its landscape by system and by the data it holds by holds, the use case drawn by usecase and scenario, or the feature, product, use case or requirement whose requirements are drawn, never by neighborhood | |
| type | No | A type, to draw its schema and the types it is declared with | |
| unit | No | core or a pack, to draw that unit's types and what they declare; a meta-model too large to draw whole is drawn as core, and `units` in the answer names every unit | |
| shape | Yes | ||
| domain | No | A domain's id or address, to draw its concepts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| actor | No | ||
| edges | Yes | ||
| links | Yes | ||
| model | Yes | ||
| nodes | Yes | ||
| shape | Yes | ||
| steps | No | ||
| title | Yes | ||
| units | No | ||
| mermaid | Yes | ||
| omitted | Yes | ||
| everyType | No | ||
| extensions | No | ||
| transitions | No |