update_connection
Update existing architectural connections by modifying source, destination, protocol, port, encryption, or description. Supports batch operations via items list.
Instructions
Update an existing connection in the architecture. Supports batch operations via the 'items' parameter.
This tool updates one or more existing connections in the system architecture. For single item: provide id and fields to update directly. For batch: provide a list of connection dicts in the 'items' parameter (each must include 'id').
Args: ctx: MCP context for logging and error handling id: ID of the connection to update (required for single item mode) source_id: New ID of the source component destination_id: New ID of the destination component protocol: New protocol used for the connection port: New port used for the connection encryption: New encryption status description: New description of the connection items: Optional list of connection dicts for batch update
Returns: A confirmation message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the connection to update (required for single item mode) | |
| port | No | New port used for the connection | |
| items | No | Optional list of connections to update in batch. Each dict must contain 'id' and any fields to update. When provided, individual parameters are ignored. | |
| protocol | No | New protocol used for the connection | |
| source_id | No | New ID of the source component | |
| encryption | No | New encryption status | |
| description | No | New description of the connection | |
| destination_id | No | New ID of the destination component |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |