# connect_components

> connect_components, an Arc-Tech MCP tool. Add a relationship from one component to another: routes_through (traffic is sent on to it), connects_to (calls…

Source: https://arc-tech.dev/docs/tools/connect_components

Add a relationship from one component to another: routes_through (traffic is sent on to it), connects_to (calls it), depends_on, reads_from, writes_to, stores_in, publishes_to and consumes_from (queues and topics), authenticates_with, backed_by.

**Changes something.** Needs a read & write token, and a `reason`.

## Parameters

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `design_id` | string | Yes |  |
| `source_id` | string | Yes |  |
| `target_id` | string | Yes |  |
| `relationship_type` | string | Yes | One of: `depends_on`, `connects_to`, `reads_from`, `writes_to`, `routes_through`, `publishes_to`, `consumes_from`, `authenticates_with`, `stores_in`, `backed_by`. |
| `label` | string | No |  |
| `version` | integer | No |  |
| `reason` | string | Yes | Why, in one short sentence the team will read in the project’s activity log. |

## Example arguments

```json
{
  "design_id": "<design id>",
  "source_id": "<source id>",
  "target_id": "<target id>",
  "relationship_type": "depends_on",
  "reason": "Why, in one short sentence"
}
```

## Guide

See [Build architecture with AI](https://arc-tech.dev/md/build-architecture.md).

Every refusal says why, and nothing is saved. See [errors and limits](https://arc-tech.dev/md/errors.md).
