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

# vf workflow update-step

> vf workflow update-step: update workflow step. Requires --body-param, --environment-alias, --project-id, --step-id and --workflow-id, with a worked example.

Change one step's content.

## Usage

```bash
vf workflow update-step [flags]
```

## Examples

```bash
  vf workflow update-step --workflow-id <id> --step-id <id> --project-id <id> --environment-alias <value>
```

## Flags

```text
      --body string                              Request body as JSON (alternative to individual flags). Can also be provided via stdin.
  -b, --body-param string                        JSON value (variants: message: { kind: string, content: object }, end: { kind: string, content: object }, set: { kind: string, content: object }, workflow: { kind: string, content: object }, listen: { kind: string, content: object }, condition: { kind: string, content: object }, buttons: { kind: string, content: object }, card: { kind: string, content: object }, carousel: { kind: string, content: object }, code: { kind: string, content: object }, api: { kind: string, content: object }, function: { kind: string, content: object }, integration: { kind: string, content: object }, mcp: { kind: string, content: object }, playbook: { kind: string, content: object }, operator: { kind: string, content: object }, crew: { kind: string, content: object }, handoff: { kind: string, content: object }, callForward: { kind: string, content: object }, goToBlock: { kind: string, content: object })
      --body-param.api string                    StableWorkflowStepPatch_API variant as JSON
      --body-param.api.content string            [required]
      --body-param.buttons string                StableWorkflowStepPatch_Buttons variant as JSON
      --body-param.call-forward string           StableWorkflowStepPatch_CallForward variant as JSON
      --body-param.call-forward.content string   [required]
      --body-param.card string                   StableWorkflowStepPatch_Card variant as JSON
      --body-param.carousel string               StableWorkflowStepPatch_Carousel variant as JSON
      --body-param.code string                   StableWorkflowStepPatch_Code variant as JSON
      --body-param.code.content string           [required]
      --body-param.condition string              StableWorkflowStepPatch_Condition variant as JSON
      --body-param.crew string                   StableWorkflowStepPatch_Crew variant as JSON
      --body-param.end string                    StableWorkflowStepPatch_End variant as JSON
      --body-param.end.content string            [required]
      --body-param.function string               StableWorkflowStepPatch_Function variant as JSON
      --body-param.function.content string       [required]
      --body-param.go-to-block string            StableWorkflowStepPatch_GoToBlock variant as JSON
      --body-param.go-to-block.content string    [required]
      --body-param.handoff string                StableWorkflowStepPatch_Handoff variant as JSON
      --body-param.integration string            StableWorkflowStepPatch_Integration variant as JSON
      --body-param.integration.content string    [required]
      --body-param.listen string                 StableWorkflowStepPatch_Listen variant as JSON
      --body-param.mcp string                    StableWorkflowStepPatch_Mcp variant as JSON
      --body-param.mcp.content string            [required]
      --body-param.message string                StableWorkflowStepPatch_Message variant as JSON
      --body-param.message.content string        [required]
      --body-param.operator string               StableWorkflowStepPatch_Operator variant as JSON
      --body-param.operator.content string       [required]
      --body-param.playbook string               StableWorkflowStepPatch_Playbook variant as JSON
      --body-param.playbook.content string       [required]
      --body-param.set string                    StableWorkflowStepPatch_Set variant as JSON
      --body-param.set.content string            [required]
      --body-param.workflow string               StableWorkflowStepPatch_Workflow variant as JSON
  -e, --environment-alias string                 [required]
  -h, --help                                     help for update-step
  -p, --project-id string                        [required]
  -s, --step-id string                           [required]
  -w, --workflow-id string                       [required]
```

## Global flags

These flags are inherited from the parent command and work on every invocation.

```text
      --agent-mode             Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
      --color string           Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
  -d, --debug                  Log request and response diagnostics to stderr
      --dry-run                Preview the request that would be sent without executing it (output to stderr)
  -H, --header stringArray     Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
      --include-headers        Include HTTP response headers in the output
  -q, --jq string              Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
      --no-interactive         Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
  -o, --output-format string   Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
      --server-url string      Override the default server URL
      --timeout string         HTTP request timeout (e.g., 30s, 5m, 100ms)
      --token string           Voiceflow bearer token
      --usage                  Print the CLI Usage schema in KDL format
```

## See also

- [vf workflow](/docs/cli/commands/workflow) - Operations for workflow
