Interactive views (ui.render node) let a tool return a short text answer and a hosted Smia card page. They are available on Hobby and Pro (not Free).
What the tool returns
- A summary string for the chat transcript.
- A hosted page URL users can open when inline rendering is unavailable.
- On the direct product server path, eligible clients may also receive embedded App HTML for inline cards.
smia_test returns the summary and hosted URL without embedded App HTML.
Connector vs direct path
smia_call / call_tool results are capped at 100,000 characters. Above the cap, embedded HTML is dropped and the text truncates with a note plus the hosted view URL.
| Client | https://smia.tools/{hub}/{server} | Via Smia connector smia_call |
|---|---|---|
| Cursor | Inline card (direct path) | Summary + link (no app preload) |
| Claude / Grok | May hit host payload limits on huge embeds | Summary + hosted view URL |
| Other MCP Apps hosts | Inline when host supports apps | Summary + link; actions on hosted page |
See docs/PRODUCT_MODEL.md (Interactive views table) for the full matrix.
When to use
- Approvals or dashboards teammates click through from chat.
- Forms that post back via
view_actionon the hosted page when the chat client cannot embed the card. - Ops tools where a chart is nice-to-have but the summary line is enough for agents.
Example
Tool pipeline_snapshot on server sales calls your CRM with {{env.HUBSPOT_TOKEN}}, renders a bar chart via ui.render, and returns “42 open deals · $1.2M” plus a link. Sales reps use the product server URL in Cursor for inline cards; the overnight agent uses the same tool via connector and follows the hosted link when the payload is large.
Verified against commit aae68ddd0a3c9597d8481c376d33eb3ca2effcb3 on 2026-11-26.