# `Jido.Agent.StateOp.SetPath`
[🔗](https://github.com/agentjido/jido/blob/v2.3.0/lib/jido/agent/state_op.ex#L133)

Set a value at a nested path in the agent's state.

Uses `put_in/3` semantics. Path must be a list of atoms.

## Example

    %SetPath{path: [:config, :timeout], value: 5000}
    # Sets agent.state.config.timeout = 5000

# `t`

```elixir
@type t() :: %Jido.Agent.StateOp.SetPath{path: [atom()], value: any()}
```

# `schema`

```elixir
@spec schema() :: Zoi.schema()
```

Returns the Zoi schema for SetPath.
