# `MingaAgent.InferenceRoute.Message`
[🔗](https://github.com/jsmestad/minga/blob/main/sdk/lib/minga_agent/inference_route/message.ex#L1)

One conversation message sent to a route. The system prompt travels in `Request.system`.

This is a compile-time stub.

# `part`

```elixir
@type part() ::
  {:text, String.t()}
  | {:image, media_type :: String.t(), data :: binary()}
  | {:thinking, String.t(), signature :: String.t() | nil}
  | {:tool_call, MingaAgent.InferenceRoute.ToolCall.t()}
  | {:tool_result, id :: String.t(), [part()], is_error :: boolean()}
```

# `role`

```elixir
@type role() :: :user | :assistant | :tool
```

# `t`

```elixir
@type t() :: %MingaAgent.InferenceRoute.Message{content: [part()], role: role()}
```

---

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