CloudArch
v0.2.2Create and update live animated architecture diagrams on CloudArch from a prompt or script.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_diagram
Create an interactive architecture diagram on CloudArch. Provide a description of the system and get back a URL to the live animated diagram. ALWAYS pass `readme` as well — a Markdown narrative with Overview / Components / Scenarios / Tradeoffs sections — so the viewer's README pane has substance. Call get_script_template for the full README authoring guide and :concept{} / :case{} inline directive syntax (standalone leaf form: ::concept{} / ::case{}).
| Parameter | Type | Description |
|---|---|---|
code * | string | CloudArch script code — REQUIRED. Call get_script_template first: it carries the layout rules (.newRow() every 3-4 nodes), the scenario API (.scenario/.showError/.flashError), and the architectural… |
description * | string | Natural language description of the system architecture to visualize. Be specific about components, connections, and data flows. |
isPublic | boolean | Whether the diagram is publicly visible. Defaults to FALSE: a diagram built from someone's codebase should not land in the public gallery unless that was asked for. Pass true deliberately. |
name | string | Name for the diagram. Auto-generated if omitted. |
readme | string | Markdown README for the diagram. Strongly recommended — without it the viewer's README pane shows an empty card and the educational value is lost. Target ~150-400 words. Recommended sections: ## Ove… |
slug | string | URL slug for the diagram (lowercase, hyphens). Auto-generated if omitted. |
tags | array | Tags for categorization |
list_diagrams
List your CloudArch diagrams
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results |
update_diagram
Update an existing CloudArch diagram. You can change the code, name, description, or other fields. Provide either id (UUID) or slug to identify the diagram.
| Parameter | Type | Description |
|---|---|---|
code | string | Updated script code |
description | string | Updated description |
id | string | The diagram ID (UUID) to update. Either id or slug must be provided. |
isPublic | boolean | Updated visibility |
name | string | Updated name |
readme | string | Updated Markdown README. Same authoring guide as on create_diagram: ## Overview / ## Components / ## Scenarios / ## Tradeoffs / ## References, ~150-400 words, [LABEL] prefixes, no emojis. Use :concept… |
slug | string | The diagram slug to update. Either id or slug must be provided. If slug is given, the ID is resolved automatically. |
tags | array | Updated tags |
delete_diagram
Delete an existing CloudArch diagram by its ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The diagram ID (UUID) to delete |
get_script_template
Get the CloudArch script generation prompt/template. Use this to understand how to write topology scripts, then call create_diagram with the generated code.