apply_dom_ops
Apply approved DOM operations to a project page and save.
Each operation is an object with an op (one of: set_text, replace_html,
insert_before, insert_after, append_html, prepend_html, remove, set_attr,
remove_attr, add_class, remove_class, move_before, move_after, move_to_page),
a selector (CSS / #id / [data-ai-id='...']), and its payload
(value|attr|html|target, all?). Unknown ops or extra fields are rejected
(no partial write). Check changed in the result: False means the edit
did not alter the page (no-op or refused by a safety guard -- see
skip_warning).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| operations | Yes | ||
| project_guid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||