# update_component

> update_component, an Arc-Tech MCP tool. Change a component: its name, and its properties in the base values or in one environment (set a property to null to…

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

Change a component: its name, and its properties in the base values or in one environment (set a property to null to clear it there; in an environment that means "use the base value"). `enabled` adds it to or removes it from that environment.

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

## Parameters

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `design_id` | string | Yes |  |
| `component_id` | string | Yes |  |
| `name` | string | No |  |
| `properties` | object | No |  |
| `environment` | string | No | An environment of the design, by name or id ("Production", "env-staging"). Leave it out for the base values, which every environment uses unless it sets its own. |
| `enabled` | boolean | No | With `environment`: whether it’s deployed there. |
| `version` | integer | No | The version you read; refused if it has changed since. |
| `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>",
  "component_id": "<component id>",
  "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).
