Excalidraw Architect
v0.2.2Generate beautiful Excalidraw architecture diagrams with auto-layout and component styling
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_diagram Create Diagram
Create a new Excalidraw diagram from structured node and connection data. The LLM provides a relationship map - this tool handles layout, styling, and rendering. No need to specify coordinates.
| Parameter | Type | Description |
|---|---|---|
connections * | array | List of connections. Each dict has: - from_id (str, required): Source node id - to_id (str, required): Target node id - label (str, optional): Edge label text - style (str, optional): "solid", "dashed… |
nodes * | array | List of nodes. Each dict has: - id (str, required): Unique identifier - label (str, required): Display text - component_type (str, optional): Technology name for auto-styling (e.g., "kafka", "postgr… |
output_path * | string | File path to save the .excalidraw file (e.g., "./arch.excalidraw") |
direction | string | Layout direction - "LR" (left-right), "TD" (top-down), "BT" (bottom-up), "RL" (right-left). Default: "LR" |
theme | string | Color theme - "default", "dark", "colorful". Default: "default" |
mermaid_to_excalidraw Mermaid To Excalidraw
Convert Mermaid flowchart syntax into an Excalidraw diagram. Supports the mermaid flowchart subset that AI agents commonly generate: - Directions: graph TD, LR, BT, RL - Node shapes: [text], {text}, ((text)), ([text]) - Edge types: -->, ---, -.-> ==> with |label| - Subgraphs: subgraph Title ... end Component types are auto-detected from node labels (e.g., a node labeled "PostgreSQL DB" automatically gets database styling).
| Parameter | Type | Description |
|---|---|---|
mermaid_syntax * | string | Mermaid flowchart source code. |
output_path * | string | File path to save the .excalidraw file. |
theme | string | Color theme - "default", "dark", "colorful". Default: "default" |
modify_diagram Modify Diagram
Modify an existing Excalidraw diagram created by this tool. Supports iterative editing: add components, remove nodes, update labels, and rewire connections - without recreating the entire diagram. IMPORTANT: Call get_diagram_info first to understand the current diagram state before making modifications.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to the existing .excalidraw file. |
operations * | array | Ordered list of operations. Each dict has: - op: "add_node" | "remove_node" | "update_node" | "add_connection" | "remove_connection" For add_node: - id (str): New node identifier - label (s… |
theme | string | Color theme for re-rendering. Default: "default" |
get_diagram_info Get Diagram Info
Get a structured summary of an existing Excalidraw diagram. Call this BEFORE modify_diagram to understand what nodes and connections currently exist. The summary includes node ids, labels, component types, and the full connection topology.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to the .excalidraw file. |