Create diagram
create_diagramCreate a new causal loop diagram from a title, optional one-sentence context and a batch of commands, and store it on a shared link. Draw the 1-3 loops at the heart of the story, at most about 12 variables, with neutral measurable names. Returns the diagram, its loops (computed by the tool), what changed and the "Open and edit" link: always give that link to the person. Commands (applied in order, valid ones kept, rejected ones returned with reasons so you can fix them): addVariable {tempId, name, description}, updateVariable, removeVariable, addLink {from, to, polarity "+"|"-", delay?, explanation}, updateLink, removeLink, updateLoop {loop: variable ids in link order or a label, name, description}, setTitle, setContext. Refer to new variables by a tempId you choose (t1, t2) and to existing ones by id (v3, l4). You never position anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| context | No | ||
| commands | Yes |