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

# modus workflows update

> Update a workflow. Nested fields require --file/--body (see `workflows create --example`).

Update a workflow. Nested fields require --file/--body (see `workflows create --example`).

## Usage

```bash theme={null}
modus workflows update [flags]
```

## Arguments

| Name |          | Description  |
| ---- | -------- | ------------ |
| `id` | required | Workflow id. |

## Flags

| Flag            | Type   | Description                                  |
| --------------- | ------ | -------------------------------------------- |
| `--file`        | string | Path to a JSON file with update fields.      |
| `--body`        | string | Read update fields as JSON from stdin ('-'). |
| `--name`        | string | Workflow display name.                       |
| `--description` | string | One-paragraph description.                   |
| `--guardrail`   | string | Guardrail id (repeatable).                   |

Global: `--pretty` — human-readable table output instead of compact JSON.

See [CLI quickstart](/guides/cli) for install and auth.
