Display a widget
display_widgetRe-render a widget from a previous generate_widget result, as-is or with minor edits such as fixing labels, colors, or values. Provide the complete widget node tree as JSON.
Instructions
Instantly re-render a widget JSON tree from a previous generate_widget result — as-is, or with small edits (fix a label, change a color, update a value). Pass the complete widget node tree as JSON. For new widgets or layout changes, prefer generate_widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the widget. | |
| widget | Yes | ChatKit widget node tree as a JSON string. Root must be {"type":"Card"|"ListView"|"Basic",...}. |