# `Jidoka.Memory.RecallRequest`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/memory/recall_request.ex#L1)

Request sent to a memory store before prompt assembly.

# `t`

```elixir
@type t() :: %Jidoka.Memory.RecallRequest{
  agent_id: binary(),
  limit: integer(),
  metadata: map(),
  query: binary(),
  scope: :agent | :session,
  session_id: nil | nil | binary()
}
```

# `new`

```elixir
@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}
```

Builds a memory recall request from keyword or map attributes.

# `new!`

```elixir
@spec new!(keyword() | map()) :: t()
```

Builds a memory recall request and raises if the attributes are invalid.

# `schema`

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

Returns the Zoi schema for a memory recall request.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
