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

Replace the agent's state wholesale (no merge).

Use cases:
- Reset strategy state completely
- Replace large blob structures
- Ensure no stale keys remain from previous state

# `t`

```elixir
@type t() :: %Jido.Agent.StateOp.ReplaceState{state: map()}
```

# `schema`

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

Returns the Zoi schema for ReplaceState.
