ArcSync
v0.3.21Architecture graphs from Terraform, CDK, CloudFormation, Pulumi and ARM, for coding agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_diagrams List ArcSync diagrams
List the architecture diagrams in the caller's ArcSync workspace (one per repository, branch and IaC path), newest first. Use it to find the graphId for a repository before calling get_diagram, describe_resource or get_delta. Optional `query` filters by repository URL, owner, repo name, branch, path or project type.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows (default 25). |
query | string | Case-insensitive substring filter. |
get_diagram Get an ArcSync diagram
Fetch one architecture diagram ArcSync parsed from infrastructure-as-code. `format: "mermaid"` (default) returns a Mermaid flowchart to show or embed; `format: "json"` returns the resources and relationships as lists to reason over. Both include a link to the interactive canvas. Prefer this to inferring architecture from source files.
| Parameter | Type | Description |
|---|---|---|
graphId * | string | The diagram's graphId, as list_diagrams or get_diagram returns it. The id start_parse returned also works. |
format | string |
describe_resource Describe a resource
Describe one resource in an ArcSync diagram: its type, IaC attributes, and every relationship in and out (what it calls, reads, is attached to, or is contained by). `resource` may be the resource id, its name, or a substring; an ambiguous match returns the candidates to choose from.
| Parameter | Type | Description |
|---|---|---|
graphId * | string | The diagram's graphId, as list_diagrams or get_diagram returns it. The id start_parse returned also works. |
resource * | string | Resource id, name, or a substring of either. |
list_versions List diagram versions
List the saved versions of a diagram (one per re-parse, newest first) with the commit each came from and how much it changed. Pass a version's `timestamp` to get_delta to see what it changed. Version history is a Pro feature.
| Parameter | Type | Description |
|---|---|---|
graphId * | string | The diagram's graphId, as list_diagrams or get_diagram returns it. The id start_parse returned also works. |
get_delta Get an infrastructure delta
Show what changed in a diagram's infrastructure. Without `version`, returns the pull-request delta for a PR-branch diagram: resources added, removed and changed compared with the base branch. With `version` (a timestamp from list_versions), compares that version with the one before it, or with the latest parse when `against` is "live".
| Parameter | Type | Description |
|---|---|---|
graphId * | string | The diagram's graphId, as list_diagrams or get_diagram returns it. The id start_parse returned also works. |
against | string | |
version | string |
start_parse Diagram a repository
Ask ArcSync to clone a GitHub repository and parse its infrastructure-as-code (Terraform, CloudFormation, AWS CDK, Pulumi, Azure ARM, Serverless Framework) into a diagram. Returns a graphId at once; poll get_parse_status until it completes, then call get_diagram. Uses one parse from the workspace's monthly quota (CDK and Pulumi also use a server-side synth), so call list_diagrams first and reuse a diagram that already exists. Private repositories need the ArcSync GitHub App installed.
| Parameter | Type | Description |
|---|---|---|
repoUrl * | string | https://github.com/owner/repo |
branch | string | Defaults to the repository's default branch, or main when ArcSync cannot look it up. Pass it when you know it. |
path | string | Subdirectory holding the IaC, when it is not at the repository root. |
get_parse_status Check a parse
Report the progress of a parse started with start_parse: status (pending, running, completed, failed, cancelled), the current phase and percentage, and the error when it failed. Takes the graphId start_parse returned, or the canonical graphId a completed parse reports.
| Parameter | Type | Description |
|---|---|---|
graphId * | string | The diagram's graphId, as list_diagrams or get_diagram returns it. The id start_parse returned also works. |
validate_diagram Validate an authored diagram
Check ArcSync diagram source (```arcsync blocks) locally, without pushing it: reports OK with node and edge counts, or INVALID with one line per problem (block:line:column, and a suggestion when one exists). Run it, fix every error, then call push_diagram.
| Parameter | Type | Description |
|---|---|---|
source * | string | The diagram as markdown holding ```arcsync fenced blocks (Mermaid flowchart or stateDiagram-v2 syntax with @{ } node metadata). |
push_diagram Push an authored diagram
Validate ArcSync diagram source locally, then store it as a private diagram in the caller's workspace. Pushing the same diagramId again updates that diagram. Returns the canvas link and an embed link for Notion. Counts against the workspace's diagram and hourly limits; call validate_diagram first.
| Parameter | Type | Description |
|---|---|---|
source * | string | The diagram as markdown holding ```arcsync fenced blocks (Mermaid flowchart or stateDiagram-v2 syntax with @{ } node metadata). |
diagramId | string | Defaults to the `%% diagram:` id in the source's first block, else a slug of the source's title. |
title | string | Defaults to the source's own title. |
get_diagram_source Get an authored diagram's source
Return the stored ArcSync source text of an authored diagram (one pushed with push_diagram), to edit and push again. Takes the graphId push_diagram returned.
| Parameter | Type | Description |
|---|---|---|
graphId * | string | The graphId push_diagram returned. |
list_icons List diagram icons
List the icon ids a diagram node can use in `@{ icon: "..." }` (aws:lambda, azure:function-apps, gcp:cloud-storage, generic ones such as user), grouped by vendor. `query` filters by substring.
| Parameter | Type | Description |
|---|---|---|
query | string | Case-insensitive substring, e.g. lambda. |