render_ui
Render a fenestra/1 UI description to an accessibility tree, preview image, and warnings for contrast, labeling, and legibility.
Instructions
Render a fenestra/1 UI description to a typed accessibility tree, a downscaled preview image, and automatic accessibility warnings (contrast, labeling, per-text-node legibility). Read the access tree first; the full-resolution PNG comes back as a resource_link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Window size as `WxH` (default `800x600`). | |
| theme | No | Optional theme: a `ThemeSpec` object, or `{"preset":"dark"}`. | |
| description | Yes | The UI description: a `fenestra/1` JSON object. |