# `DDD.Health.Query`
[🔗](https://github.com/blackuprise/vicander/blob/v0.1.1/lib/ddd/operations/health/query.ex#L1)

`DDD.Health.check/0` as a `DDD.Query`, so it can be listed in an MCP server (or anywhere a
query is accepted):

    use DDD.MCP.Server, queries: [DDD.Health.Query, ...]

Which projections are checked, and the thresholds, come from `config :vicander, :health`.

# `t`

```elixir
@type t() :: %DDD.Health.Query{}
```

The declared struct, one key per `field`.

# `call`

Run the query from a struct or attrs. Errors carry `context: %{query: ...}`.

# `call!`

Like `call/1`, raising on failure.

# `new`

Build and validate from a map or keyword list.

---

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