# `ToolCall.TypeExpr.Compiler`

Lowers `ToolCall.TypeExpr` into `ToolCall.IR.Type`.

Provider resolution, struct markers, and union normalization happen here, so
the type expression itself can stay source-neutral and unresolved.

# `to_type`

```elixir
@spec to_type(ToolCall.TypeExpr.t(), [module()]) :: ToolCall.IR.Type.t()
```

---

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