drawarch
v0.2.0Create editable Draw.io architecture diagrams from prompts and reference images.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_themes List DrawArch Themes
List selectable visual themes for editable animated diagrams.net architecture diagrams.
list_assets Search Bundled SVG Assets
Search safe bundled real-world SVG architecture assets by name, alias, tag, category, or provider.
| Parameter | Type | Description |
|---|---|---|
category | string | |
provider | string | |
query | string | Text such as postgres, smartphone, telemetry, or server |
resolve_asset Resolve Architecture SVG
Resolve one architecture component to a safe embedded SVG using bundled assets first and online Iconify-compatible assets when enabled.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
allowOnline | boolean | |
category | string | |
provider | string |
create_drawio Create Editable Architecture Diagram
Generate a self-contained native .drawio architecture with selectable theme, real SVGs, deterministic layout, animated colour-coded datapaths, and editable objects.
| Parameter | Type | Description |
|---|---|---|
layout * | string | |
nodes * | array | |
outputFile * | string | |
theme * | string | |
title * | string | |
edges | array | |
groups | array | |
onlineAssets | boolean | |
overwrite | boolean |
validate_drawio Validate a DrawArch File
Validate a .drawio file inside the configured output directory for structural errors, dangling references, duplicate IDs, and unsafe images.
| Parameter | Type | Description |
|---|---|---|
fileName * | string |
prepare_reference_recreation Prepare an Exact Reference-Image Recreation
Persist the host vision model's absolute editable scene graph. DrawArch does not call another LLM. Set approved only after the user or host policy approves all online sources and the plan.
update_reference_plan Revise a Reference Recreation Plan
Create an immutable next revision of a reference plan using optimistic concurrency. Any earlier approval becomes stale.
get_reference_plan Get the Current Reference Plan
Read the latest immutable scene-graph revision before rendering or approval.
| Parameter | Type | Description |
|---|---|---|
planId * | string |
create_reference_drawio Render an Approved Reference Recreation
Resolve approved real assets, embed them, and render an exact absolute-coordinate editable .drawio artifact. Rejects stale approvals.
| Parameter | Type | Description |
|---|---|---|
approvalToken * | string | |
planId * | string | |
revision * | integer |
validate_reference_drawio Validate a Reference Draw.io Artifact
Validate a generated reference recreation for native Draw.io structure, IDs, references, and embedded-image safety.
| Parameter | Type | Description |
|---|---|---|
fileName * | string |
compare_reference_recreation Compare a Recreation to its Reference Plan
Measure structural coverage against the approved absolute scene graph and report missing editable elements.
| Parameter | Type | Description |
|---|---|---|
planId * | string | |
revision * | integer | |
fileName | string |