Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Command · ui

ui.source.apply

Apply lossless native UI markup with validation, attribution and undo.
scope edit:scenenot idempotentnon-destructive

Params

Typed as UiSourceApplyParams. Fields marked * are required.

source*

string
Complete native UI XML. Existing identity metadata may be retained or omitted.
required

Examples

JSON (MCP ara_apply, batches)

{
  "cmd": "ui.source.apply",
  "args": {
    "source": "<ui id=\"hud\"><text id=\"title\" text=\"Hello\" /></ui>\n"
  }
}

CLI

ara do ui.source.apply --args '{"source":"<ui id=\"hud\"><text id=\"title\" text=\"Hello\" /></ui>\n"}' --why "…"