Skip to content

Rich content transforms

Rich content turns successful tool JSON into interactive UI in chat — carousels, grids, lists, and single cards with images, prices, and action buttons. Mapping is declarative via result_transform on the tool; the model does not hand-build card JSON.

LayoutUse case
carouselSwipeable offers (rooms, products)
gridCompact multi-item browse
listVertical scan-friendly results
singleOne highlighted item

See Carousel and layouts.

TypeFieldsExample
ProductSKU, price, image, CTAE-commerce catalog
MediaImage, title, subtitle, priceHotel rooms, travel offers
  1. Tool call succeeds and returns JSON from your API.
  2. Chatevo applies result_transform (items path, field mapping, sort, actions).
  3. Server emits RICH_CONTENT to the widget.
  4. Assistant text reply can reference the cards; it cannot invent offers.

Cards render only from successful tool results. Failed calls, timeouts, and model hallucinations never produce structured offers. See Trust policy.

  1. Build an API Request tool that returns a list of items.
  2. Add transform config — see Transform reference.
  3. Test and confirm cards in assistant preview.

Quickstart: Room offer carousel.