# `AshAi.McpResource.Contents.Text`
[🔗](https://github.com/ash-project/ash_ai/blob/v1.5.6/lib/ash_ai/mcp_resource/contents.ex#L66)

A text item in a `resources/read` result. Build one with `AshAi.McpResource.Contents.text/2`.

# `t`

```elixir
@type t() :: %AshAi.McpResource.Contents.Text{
  meta: map() | nil,
  mime_type: String.t() | nil,
  text: String.t(),
  uri: String.t() | nil
}
```

---

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