Render Nuwax OpenUI
nuwax_render_openuiCreates or updates OpenUI artifacts to render cards, dashboards, forms, charts, and other structured interfaces, returning a lightweight reference for inline or sidecar display.
Instructions
Create or update a durable OpenUI artifact in the active project. Use this whenever the user asks to show, render, visualize, preview, or build a card, dashboard, chart, table, report, form, status panel, or other structured interface—even if they do not mention OpenUI. The tool writes data/{artifactId}.openui.json and returns a lightweight reference. Reuse artifactId to update an existing UI. OpenUI Lang is assignment-based and is NEVER XML/HTML/JSX: start with root = Stack(...), use positional arguments, and reference every defined variable. For complex UI or uncertain component signatures, call nuwax_get_openui_reference first. Reactive filters must handle empty initial bindings, and dynamic pie/radial charts must guard zero totals. Use inline for compact conversation UI and sidecar only for a full page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Visible UI title. | |
| bindings | No | ||
| document | Yes | ||
| fallback | No | ||
| artifactId | No | Optional stable artifact UUID. Reusing an existing ID atomically replaces data/{artifactId}.openui.json. | |
| presentation | Yes | ||
| schemaVersion | Yes | Always use nuwax.openui/v1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| type | Yes | ||
| title | Yes | ||
| digest | Yes | ||
| operation | Yes | ||
| artifactId | Yes | ||
| presentation | Yes | ||
| schemaVersion | Yes |