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

# graph plan step update

> Set one attribute of a step

Sets one attribute of a step. `tool` takes a tool name or a control step (`exit`, `agent`, `ask`, `route`, `filter`, `map`, `reduce`), `input` takes the step's whole input object, and `reasoning` takes a string.

## Arguments

**NAME|PATH** `string` *required*

The plan's identifier or YAML file path

**ID** `string` *required*

The step's id

**ATTRIBUTE** `enum\<string\>` *required*

The attribute to set

Available options: `tool`, `input`, `reasoning`

**VALUE** `string` *required*

`input` takes JSON, @file, or -; the others take a string

## Options

**--json** `boolean`

Print a JSON envelope instead of text

## Global options

**-v, --verbose** `integer`

Increase log verbosity (-v info, -vv debug, -vvv trace)

```bash Usage theme={null}
graph plan step update [OPTIONS] <NAME|PATH> <ID> <ATTRIBUTE> <VALUE>
```

```bash Example 1 theme={null}
graph plan step update weekly_changes E1 reasoning "Commit subjects are enough for a summary"
```

```bash Example 2 theme={null}
graph plan step update weekly_changes E1 input @e1.json
```


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