Edit a diagram
edit_diagramChange a diagram made earlier in this chat with create_diagram: add, remove, rename or reconnect steps, shorten labels, recolour, restructure. Pass its link (https://aiflowchart.io/import/…) and the change in plain English. Use this instead of create_diagram whenever the user wants to adjust a diagram they already have, so their earlier work is kept. Returns a link to the new version plus Mermaid code where available. Uses 1 AI credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram | Yes | The diagram link from an earlier result (https://aiflowchart.io/import/<id>) or just the id. | |
| instruction | Yes | What to change, e.g. "add a refund step after payment", "make the labels shorter", "remove the approval loop". |