Create an Excalidraw diagram
create_diagramDescribe a system in plain English to generate an editable Excalidraw scene with auto-layout, bound arrows, and attached labels. Optionally save to .excalidraw file.
Instructions
Describe a system in plain English and get back a complete, editable Excalidraw scene: shapes laid out automatically, arrows genuinely bound to the shapes they connect, and labels attached to their containers. Optionally writes the scene to a .excalidraw file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title drawn above the diagram. | |
| direction | No | Flow direction: 'right' (default) or 'down'. | right |
| save_path | No | Optional absolute path to write the .excalidraw file to. | |
| use_model | No | 'auto' uses the configured model and falls back to the offline rule parser, 'never' forces the offline parser, 'always' fails if no model is reachable. | auto |
| description | Yes | What to draw, e.g. 'A React app calls an API that reads Postgres and publishes to Kafka'. Arrow syntax like 'A -> B: label' also works. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |