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*
stringComplete 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 "…"