> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# roark agent update

> Update an agent

Updates an existing agent by its ID.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent update <agent-id> [options]
```

> [!NOTE]
>
> Calls `PUT /v1/agent/{agentId}`

## Arguments

**agent-id** `string` *required*

The ID of the agent to update.

## Options

**--name** `string`

Name of the agent.

**--description** `string`

Description of the agent.

**--industry** `string`

The industry the agent serves. One of `HEALTHCARE`, `FINANCIAL_SERVICES`, `INSURANCE`, `DEBT_COLLECTION`, `RETAIL`, `TRAVEL_AND_HOSPITALITY`, `TELECOMMUNICATIONS`, `TECHNOLOGY`, `PUBLIC_SECTOR`, `UTILITIES`, `LOGISTICS`, `AUTOMOTIVE`, `HOME_SERVICES`, `RESTAURANTS`, `EDUCATION`, `RECRUITING_AND_STAFFING`, `OTHER`

**--industry-description** `string`

The industry in your own words, when none of the listed ones fits. Use it with industry OTHER.

**--website-url** `string`

The business's website. Simulation setup reads it.

**--capabilities** `array`

What the agent handles. Simulation setup tests each one. One of `APPOINTMENT_BOOKING`, `FAQ`, `IDENTITY_VERIFICATION`, `ACCOUNT_MANAGEMENT`, `BILLING_AND_PAYMENTS`, `ORDER_MANAGEMENT`, `TROUBLESHOOTING`, `CALL_ROUTING`, `LEAD_QUALIFICATION`, `COLLECTIONS`, `OUTBOUND_CALLING` Repeatable.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent update <agent-id>
```

Every command also takes the [global options](https://docs.roark.ai/cli-reference/overview.md#global-options) and sets one
of the [exit codes](https://docs.roark.ai/cli-reference/overview.md#exit-codes).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.