archon-mcp
v6.9.0MCP server for generating C4 architecture diagrams.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
setup_cursor_rule
Install the Archon Cursor Rule (.cursor/rules/archon.mdc) into a project so AI agents follow archon-mcp best practices. WHEN TO USE: - Run ONCE per project before generating architectures with Cursor / Claude Code. - Re-run to upgrade an outdated rule. WHEN NOT TO USE: - Inside the Forge plugin (browser worker) — this tool is stdio-only. - If you only need API tools — the rule is purely guidance. COMMON MISTAKES: - Calling on every chat turn → the rule is static, install once. EXAMPLE: {"projectPath":"/abs/path/to/project"}
| Parameter | Type | Description |
|---|---|---|
projectPath | string | Absolute path; defaults to cwd. |
setup_archon_skill
Install the archon-mcp Agent Skill bundle (SKILL.md, REFERENCE.md, COOKBOOK.md, schemas, examples) into a project's .agents/skills/ folder. WHEN TO USE: - Once per project to make Cursor / Claude Code load the long-form archon-mcp guidance automatically. WHEN NOT TO USE: - Inside the Forge plugin — Forge inlines the skill contents at build time. COMMON MISTAKES: - Re-installing without `force:true` and an older version is detected → use `force:true` to overwrite. EXAMPLE: {"projectPath":"/abs/path/to/project","global":false,"force":false}
| Parameter | Type | Description |
|---|---|---|
force | boolean | Overwrite an existing installation regardless of version. |
global | boolean | Install to ~/.cursor/skills-cursor/archon-mcp/ instead of <project>/.agents/skills/archon-mcp/. |
projectPath | string | Absolute path. Defaults to cwd. Ignored when `global:true`. |
create_project
Initialize a NEW empty C4 project. Resets all in-memory state. WHEN TO USE: - The user wants a brand-new architecture from scratch. - No architecture.json file exists yet. WHEN NOT TO USE: - An architecture.json file already exists → use load_project instead. - User said 'add' / 'modify' / 'extend' → load existing, never reset. - Forge plugin context → host always pre-hydrates state via load_project_state. COMMON MISTAKES: - Calling create_project after load_project → wipes the loaded project. - Calling for an 'add system' prompt → destroys existing work. EXAMPLE: {"name":"E-Comm…
| Parameter | Type | Description |
|---|---|---|
name * | string |
load_project
Load an existing architecture.json file from disk into memory. Counterpart of save_project. WHEN TO USE: - Editing an existing architecture file iteratively (load → get_elements → mutate → save_project). - User opens a file and wants to extend it. WHEN NOT TO USE: - Project does not exist on disk → call create_project instead. - Forge plugin context → host uses load_project_state. COMMON MISTAKES: - Calling create_project after load_project → wipes everything you just loaded. EXAMPLE: {"fileName":"architecture.json"}
| Parameter | Type | Description |
|---|---|---|
fileName | string | Absolute path or relative to cwd. Default 'architecture.json'. |
save_project
Write the current project to a JSON file. ALWAYS the LAST step in a stdio greenfield/edit workflow. WHEN TO USE: - After all add_/update_/delete_/move_ tools and auto_layout in stdio. - User explicitly asks to 'save' or 'export'. WHEN NOT TO USE: - Forge plugin — host persistence is handled via Redux + applyMcpOperations. COMMON MISTAKES: - Calling save_project before auto_layout → diagram has stacked elements. EXAMPLE: {"fileName":"architecture.json"}
| Parameter | Type | Description |
|---|---|---|
fileName | string | Default 'architecture.json'. |
get_project_info
Quick text summary of the project (counts + element name lists). WHEN TO USE: - Sanity check before save. - Quickly inspect what's already in the project. COMMON MISTAKES: - Using this when you actually need full element data → use get_elements. EXAMPLE: {}
get_project_meta
Returns project-level meta: name, customColors, layerOrder, scenarioOrder, activeLayerId, plus element counts. JSON. WHEN TO USE: - Before update_project_meta to know current values. - When you need the active layer id or color palette. EXAMPLE: {}
get_elements
Returns FULL element objects (not just names). Filter by kind / names / ids. Use BEFORE every partial update to avoid losing fields. WHEN TO USE: - Partial update like 'add Kafka to existing technologies' — call get_elements first, merge arrays, then update_container. - Looking up current x/y for move_elements. - Listing every element of a kind. WHEN NOT TO USE: - Quick count check → use get_project_info. COMMON MISTAKES: - Skipping this and calling update_container with `{technologies:['Kafka']}` → wipes existing tech list. EXAMPLE: {"kind":"container","names":["OrderService"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | |
includeRelationships | boolean | Systems only: also returns incoming/outgoing relationship IDs. |
kind | string | |
names | array |
add_systems
Create one or more Systems (C4 Context = bounded context / namespace). WHEN TO USE: - Greenfield generation. - User: 'add a `Sample RAG` system'. WHEN NOT TO USE: - Renaming an existing system → use update_system. - Element already exists with that name → would create duplicate. COMMON MISTAKES: - Forgetting to call add_containers afterwards — empty systems are useless. EXAMPLE: {"items":[{"name":"Sample RAG","description":"Vector retrieval and reranking","color":"#3b82f6","owner":"ML Team"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array | |
layer | string | Integration layer NAME to show the new elements on. Omit to use the user's current layer (browser) — only set it when the user names another layer. |
add_containers
Create Containers (App / DB / Bus) inside an existing System. WHEN TO USE: - Always after add_systems (or against existing systems). - Container types: 'App', 'DB', 'Bus' ONLY. WHEN NOT TO USE: - Parent system not in project → call add_systems first. - Renaming → use update_container. COMMON MISTAKES: - Wrong container type ('Service', 'Microservice') — only App/DB/Bus. EXAMPLE: {"items":[{"name":"RAG API","systemName":"Sample RAG","type":"App","technologies":["Python","FastAPI"]}]}
| Parameter | Type | Description |
|---|---|---|
items * | array | |
layer | string | Integration layer NAME to show the new elements on. Omit to use the user's current layer (browser) — only set it when the user names another layer. |
add_users
Create User / Actor elements (people, external systems). WHEN TO USE: - End User, Admin, Developer, External SaaS — anyone interacting with the architecture. COMMON MISTAKES: - Adding internal services as users — those are containers. EXAMPLE: {"items":[{"name":"End User","color":"#f59e0b"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array | |
layer | string | Integration layer NAME to show the new elements on. Omit to use the user's current layer (browser) — only set it when the user names another layer. |
add_relationships
Create relationships between existing elements. `from` and `to` are NAMES. RELATIONSHIP RULES (enforced by the tool; the result lists every rewrite and every rejected item): - R1 Ingress API capabilities: An App container called from outside its system exposes the called endpoints in its API capabilities. Endpoints you pass that the container does not have yet are added to its Manual capability automatically. - R2 Cross-system calls target the system: A call from a container, user or system into an App container of ANOTHER system is drawn to that system (System Ingress), not to the container.…
| Parameter | Type | Description |
|---|---|---|
items * | array | |
layer | string | Integration layer NAME to show the new elements on. Omit to use the user's current layer (browser) — only set it when the user names another layer. |
add_groups
Create infrastructure boundary groups (K8s cluster, VPC, DMZ). WHEN TO USE: - Visual grouping of elements that share an environment / boundary. EXAMPLE: {"items":[{"name":"Kubernetes Cluster","elements":["OrderService","User Service"],"borderStyle":"dashed"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array | |
layer | string | Integration layer NAME to show the new elements on. Omit to use the user's current layer (browser) — only set it when the user names another layer. |
add_layer_groups
Create folders for organizing integration layers in the sidebar. WHEN TO USE: - Project has many layers, organize them into folders like 'Architecture Views' / 'Flows'. EXAMPLE: {"items":[{"name":"Architecture Views"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
add_integration_layers
Create integration layers (different views of the architecture). WHEN TO USE: - One default (full) layer + focused layers per domain. - Each focused layer must list ALL element types in visibleElements: systems, containers AND users. COMMON MISTAKES: - Listing only systems in visibleElements → containers stay hidden. - Forgetting isDefault:true on the main layer. EXAMPLE: {"items":[{"name":"Customer Flow","isDefault":false,"visibleElements":["API Gateway","OrderService","Order DB","End User"]}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
add_scenario_groups
Create folders for organizing business scenarios. WHEN TO USE: - Many scenarios — group as 'Core Flows' / 'Admin Flows'. EXAMPLE: {"items":[{"name":"Core Flows"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
add_business_scenarios
Create multi-step business scenarios (narrative flows tied to a layer). The result lists, per step, the elements, every relationship the step shows (auto-included ones marked) and what still misses a comment. SCENARIO STEP RULES (S1 is enforced by the tool; the result reports S2–S4 per step): - S1 A container brings its system into the step: When a step uses a container, the container's system is a step element too. The tool adds every missing parent system to the step and reports it; a system cannot be removed from a step while its containers stay there. Reason: a call into another system'…
| Parameter | Type | Description |
|---|---|---|
items * | array |
add_scenario_steps
Append steps to an existing business scenario. The result lists, per step, every relationship the step shows (auto-included ones marked) and what still misses a comment. SCENARIO STEP RULES (S1 is enforced by the tool; the result reports S2–S4 per step): - S1 A container brings its system into the step: When a step uses a container, the container's system is a step element too. The tool adds every missing parent system to the step and reports it; a system cannot be removed from a step while its containers stay there. Reason: a call into another system's App container is stored as a relation…
| Parameter | Type | Description |
|---|---|---|
scenarioName * | string | |
steps * | array |
update_scenario_step_elements
Fine-tune which elements / relationships are included, excluded or shown as a response in a SINGLE step. The result lists every relationship the step shows after the change. SCENARIO STEP RULES (S1 is enforced by the tool; the result reports S2–S4 per step): - S1 A container brings its system into the step: When a step uses a container, the container's system is a step element too. The tool adds every missing parent system to the step and reports it; a system cannot be removed from a step while its containers stay there. Reason: a call into another system's App container is stored as a rela…
| Parameter | Type | Description |
|---|---|---|
scenarioName * | string | |
stepOrder * | string | |
addElements | array | Parent systems of added containers are added too (S1). |
addRelationships | array | List only relationships with an end outside the step; the others are auto-included. Each item: a relationship id, or { from, to } with element names; a container name resolves to the merged relationsh… |
addResponseRelationships | array | Show these relationships as the reply in this step (animation target → source). Each item: a relationship id, or { from, to } with element names; a container name resolves to the merged relationship… |
excludeRelationships | array | Hide auto-included relationships in this step (S3). Each item: a relationship id, or { from, to } with element names; a container name resolves to the merged relationship into its system. |
removeElements | array | |
removeRelationships | array | Removes listed relationships; an auto-included one stays — exclude it instead. Each item: a relationship id, or { from, to } with element names; a container name resolves to the merged relationship… |
removeResponseRelationships | array | Show these relationships in their normal direction again. Each item: a relationship id, or { from, to } with element names; a container name resolves to the merged relationship into its system. |
unexcludeRelationships | array | Show previously excluded relationships again. Each item: a relationship id, or { from, to } with element names; a container name resolves to the merged relationship into its system. |
add_scenario_step_comments
Add per-step comments (overall, per-element, per-relationship). Comments carry the concrete action of the step — every element and every relationship the step shows should get one. The result lists what still misses a comment. SCENARIO STEP RULES (S1 is enforced by the tool; the result reports S2–S4 per step): - S1 A container brings its system into the step: When a step uses a container, the container's system is a step element too. The tool adds every missing parent system to the step and reports it; a system cannot be removed from a step while its containers stay there. Reason: a call…
| Parameter | Type | Description |
|---|---|---|
items * | array | |
scenarioName * | string |
validate_business_scenarios
Check business scenarios against the scenario step rules (S1–S4): per step, every relationship it shows (auto-included ones marked), missing parent systems, elements and relationships without a comment. With fix:true add the missing parent systems. SCENARIO STEP RULES (S1 is enforced by the tool; the result reports S2–S4 per step): - S1 A container brings its system into the step: When a step uses a container, the container's system is a step element too. The tool adds every missing parent system to the step and reports it; a system cannot be removed from a step while its containers stay…
| Parameter | Type | Description |
|---|---|---|
fix | boolean | Add missing parent systems to the steps (S1). Default false: report only. |
names | array | Scenario names. Omit for all scenarios. |
add_ports
Add anchor ports to elements with many in/out arrows. WHEN TO USE: - Element has many incoming arrows on one side — distribute via ports. EXAMPLE: {"items":[{"elementName":"OrderService","side":"top","count":3}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
set_deploy_metadata
Set ops metadata (administration / monitoring / logging / configuration / infrastructure) on systems or containers. PARTIAL — fields you don't pass are preserved. WHEN TO USE: - Add or modify ops links / instructions for systems/containers. - `infrastructure` = markdown notes on what is special about the infrastructure: HA / replication, autoscaling, node pools, storage class, network policies, backups. - Markdown supported in every field. WHEN NOT TO USE: - To remove metadata fields → use clear_deploy_metadata. - Target (ns / vm / pod), instance count, CPU, RAM, HDD → use set_deploy_t…
| Parameter | Type | Description |
|---|---|---|
items * | array |
set_deploy_targets
Fill the Deploy → Infrastructure card of systems and containers: target (where the element is deployed), instance count, CPU, RAM, HDD, URL. Targets are merged by name — fields you don't pass are preserved. WHEN TO USE: - Set where an element runs and how many resources it gets: 'Orders API runs in pod orders-api, 3 replicas, 2 CPU, 256 MB RAM, 16 GB disk' → target 'pod: orders-api', count 3, cpu 2, ram 0.256, hdd 16. - target is '<kind>: <name>': 'ns: <namespace>' (usually a system), 'pod: <pod>' (App container), 'vm: <virtual machine>' (often DB / Bus); other kinds the same way, e.g.…
| Parameter | Type | Description |
|---|---|---|
items * | array |
clear_deploy_metadata
Remove ops metadata fields from a system or container. WHEN TO USE: - User: 'remove monitoring link from OrderService'. EXAMPLE: {"items":[{"name":"OrderService","fields":["monitoring"]}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
auto_layout
Recompute positions of the elements of ONE integration layer + route its relationships + jump bridges + label safe zones. Positions go into that layer's placements and bends into that layer's routes; other layers keep their arrangement. Every route leaves and enters its ports at a right angle, from outside the element. engine: 'compact-grid' (default, systems in rows, containers in a grid) or 'orthogonal-flow' (systems left→right along the relationships, right-angled routes kept apart; slower). WHEN TO USE: - After greenfield generation, before save_project — once per integration layer: a…
| Parameter | Type | Description |
|---|---|---|
engine | string | |
layer | string | Integration layer name or id. Required in stdio when the project has layers; Forge defaults to the chat's current layer. |
maxColumnsPerSystem | number | |
routeRelationships | boolean |
move_elements
Batch position update. ONE op per element. Preserves topology. WHEN TO USE: - User: 'move OrderService 200px to the right' → get_elements first to read current x. - Reposition a few elements without affecting others. WHEN NOT TO USE: - Re-layout the whole diagram → use auto_layout. COMMON MISTAKES: - Forgetting to read current position with get_elements before computing new x/y. EXAMPLE: {"items":[{"name":"OrderService","x":720,"y":300}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_project_meta
Update project-level meta (name, customColors). Partial. WHEN TO USE: - Rename the project. - Add custom colors used across new elements. EXAMPLE: {"name":"E-Commerce v2","customColors":["#3b82f6","#a855f7"]}
| Parameter | Type | Description |
|---|---|---|
customColors | array | |
name | string |
update_system
Partial update of a System. Fields you don't pass are preserved. WHEN TO USE: - Rename, change description / owner / color / metadata / versions / position / size. WHEN NOT TO USE: - For positions only → use move_elements (lighter op for the host). COMMON MISTAKES: - Assuming you can pass new containerIds — manage containers via add_containers / delete_containers. EXAMPLE: {"items":[{"name":"OrderService","description":"Order placement service","color":"#3b82f6"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_container
Partial update of a Container. Fields you don't pass are preserved. WHEN TO USE: - Rename, change description / type / technologies / topics / schemas / API capabilities / position. COMMON MISTAKES: - Replacing technologies array without first reading current values via get_elements → wipes existing tech list. - Replacing capabilities without reading them first → endpoints you drop are also removed from relationships that call them. - Replacing schemas / topics without reading them first → the ones you drop are also removed from relationships into the container. EXAMPLE: {"items":[{"n…
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_user
Partial update of a User / Actor. WHEN TO USE: - Rename, change description / color / position. EXAMPLE: {"items":[{"name":"End User","description":"Customer placing orders"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_relationship
Partial update of a Relationship. Resolve by id OR by {from, to} names. RELATIONSHIP RULES (enforced by the tool; the result lists every rewrite and every rejected item): - R1 Ingress API capabilities: An App container called from outside its system exposes the called endpoints in its API capabilities. Endpoints you pass that the container does not have yet are added to its Manual capability automatically. - R2 Cross-system calls target the system: A call from a container, user or system into an App container of ANOTHER system is drawn to that system (System Ingress), not to the container. Pa…
| Parameter | Type | Description |
|---|---|---|
items * | array |
validate_relationships
Check every relationship against the relationship rules (R1–R4); with fix:true rewrite and merge the violations. RELATIONSHIP RULES (enforced by the tool; the result lists every rewrite and every rejected item): - R1 Ingress API capabilities: An App container called from outside its system exposes the called endpoints in its API capabilities. Endpoints you pass that the container does not have yet are added to its Manual capability automatically. - R2 Cross-system calls target the system: A call from a container, user or system into an App container of ANOTHER system is drawn to that system…
| Parameter | Type | Description |
|---|---|---|
fix | boolean | Apply the fixes. Default false: report only. |
update_group
Partial update of a Group. WHEN TO USE: - Rename, change layer / elements / border style / position. EXAMPLE: {"items":[{"name":"Kubernetes Cluster","elements":["OrderService","Payment Service"]}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_integration_layer
Partial update of an integration layer. Use showElements / hideElements to show or hide a few elements; use newName to rename. WHEN TO USE: - Show or hide specific elements on a layer → showElements / hideElements (only the named ones change). - Rename via newName. - Omit name/id to target the user's current layer (browser). WHEN NOT TO USE: - Showing ONE element by resending visibleElements — visibleElements REPLACES the whole list. COMMON MISTAKES: - Replacing visibleElements with only systems → containers vanish. - Using visibleElements for an incremental change → every other ele…
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_layer_group
Rename a layer group folder. WHEN TO USE: - Layer group folder needs a new name. EXAMPLE: {"name":"Architecture Views","newName":"System Views"}
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_scenario_group
Rename a scenario group folder. WHEN TO USE: - Scenario group folder needs a new name. EXAMPLE: {"name":"Core Flows","newName":"Customer Flows"}
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_business_scenario
Partial update of a business scenario (rename, change description, layer, group). WHEN TO USE: - Rename via newName, move to a different layer / scenario group. EXAMPLE: {"name":"Checkout","newName":"Checkout v2"}
| Parameter | Type | Description |
|---|---|---|
items * | array |
update_scenario_step
Update step header (order, name, comment) of a single step. WHEN TO USE: - Rename a step, change its order, edit its overall comment. WHEN NOT TO USE: - Changing step elements / relationships → use update_scenario_step_elements. - Changing per-element / per-rel comments → use add_scenario_step_comments / delete_scenario_step_comments. EXAMPLE: {"scenarioName":"Checkout","stepOrder":"2","name":"Payment authorized"}
| Parameter | Type | Description |
|---|---|---|
stepOrder * | string | |
comment | string | |
name | string | |
newOrder | string | |
reorder | boolean | Re-sort scenario.steps by order after the change. |
scenarioId | string | |
scenarioName | string |
update_ports
Update existing port attributes (e.g. side). WHEN TO USE: - Move a port to a different side without removing+adding. EXAMPLE: {"elementName":"OrderService","ports":[{"id":"<uuid>","side":"right"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
delete_systems
Delete one or more Systems. Cascades: containers, sidecars, relationships, scenario / layer refs, ports. WHEN TO USE: - User: 'delete the deprecated AuthLegacy system'. WHEN NOT TO USE: - To delete a single container — use delete_containers (parent system stays). COMMON MISTAKES: - Manually deleting relationships/containers first — cascade handles them. EXAMPLE: {"names":["AuthLegacy"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | Element ids to target |
names | array | Element names to target |
delete_containers
Delete containers. Cascades: relationships, scenario / layer refs. WHEN TO USE: - Removing a microservice from its system. EXAMPLE: {"names":["LegacyAuthAPI"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | Element ids to target |
names | array | Element names to target |
delete_users
Delete users / actors. Cascades: relationships, scenario / layer refs. WHEN TO USE: - Removing an actor that no longer interacts with the system. EXAMPLE: {"names":["Legacy Admin"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | Element ids to target |
names | array | Element names to target |
delete_relationships
Delete specific relationships by id or by {from, to} pair. Cascades: scenario step references. WHEN TO USE: - Disconnecting two specific elements without removing them. COMMON MISTAKES: - Multiple relationships between same pair — use ids (from get_elements) to disambiguate. EXAMPLE: {"items":[{"from":"OrderService","to":"LegacyAuthAPI"}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |
delete_groups
Delete groups. Members are NOT deleted — they become ungrouped. WHEN TO USE: - Removing an outdated boundary. EXAMPLE: {"names":["Old DMZ"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | Element ids to target |
names | array | Element names to target |
delete_integration_layers
Delete integration layers. Cascades: scenarios bound to that layer; groups in it move to default-layer. WHEN TO USE: - Cleaning up unused views. COMMON MISTAKES: - Cannot delete the default layer — operation skipped with warning. EXAMPLE: {"names":["Old Customer Flow"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | Element ids to target |
names | array | Element names to target |
delete_layer_groups
Delete layer-group folders. Member layers become ungrouped (not deleted). WHEN TO USE: - Reorganizing sidebar. EXAMPLE: {"names":["Architecture Views"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | Element ids to target |
names | array | Element names to target |
delete_scenario_groups
Delete scenario-group folders. Member scenarios become ungrouped (not deleted). WHEN TO USE: - Reorganizing scenario sidebar. EXAMPLE: {"names":["Old Flows"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | Element ids to target |
names | array | Element names to target |
delete_business_scenarios
Delete business scenarios completely. WHEN TO USE: - Removing outdated narratives. EXAMPLE: {"names":["Legacy Checkout"]}
| Parameter | Type | Description |
|---|---|---|
ids | array | Element ids to target |
names | array | Element names to target |
delete_scenario_steps
Remove specific steps from a business scenario by stepOrder. WHEN TO USE: - Removing a step that no longer applies. EXAMPLE: {"scenarioName":"Checkout","stepOrders":["3"]}
| Parameter | Type | Description |
|---|---|---|
stepOrders * | array | |
scenarioId | string | |
scenarioName | string | |
stepOrder | string |
delete_scenario_step_comments
Remove comments (overall, per-element, per-relationship) from a scenario step. WHEN TO USE: - Cleaning up annotations. - clearAll:true wipes every comment in the step. EXAMPLE: {"scenarioName":"Checkout","items":[{"stepOrder":"1","elementNames":["OrderService"],"clearComment":true}]}
| Parameter | Type | Description |
|---|---|---|
items * | array | |
scenarioId | string | |
scenarioName | string |
delete_ports
Delete specific ports from an element. Cascades: relationships using removed ports rebind to default port on the same side. WHEN TO USE: - Reducing port count after refactor. EXAMPLE: {"items":[{"elementName":"OrderService","portIds":["<uuid>"]}]}
| Parameter | Type | Description |
|---|---|---|
items * | array |