# `Jido.Agent.Directive.Schedule`
[🔗](https://github.com/agentjido/jido/blob/v2.3.0/lib/jido/agent/directive.ex#L587)

Schedule a delayed message to the agent.

The runtime will send the message back to the agent after the delay.

## Fields

- `delay_ms` - Delay in milliseconds (must be >= 0)
- `message` - Message to send after delay

# `t`

```elixir
@type t() :: %Jido.Agent.Directive.Schedule{delay_ms: integer(), message: any()}
```

# `schema`

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

Returns the Zoi schema for Schedule.
