assist_edit_section
EDIT a page element BY INTENT without handling HTML yourself. XeoRank reads the element's current text server-side, rewrites it on a small model per your instruction, and applies it through the validated patch path (round-trip checked, write-gated). You orchestrate; XeoRank reads+generates+writes. Get element ids from assist_page_digest. Use dry_run=true to preview. Costs Assist credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview the rewrite without writing (default false) | |
| node_id | Yes | Element id to edit (from assist_page_digest sections/elements, or wp_get_page) | |
| post_id | Yes | WordPress page/post numeric ID | |
| site_id | Yes | Site UUID (from list_sites) | |
| instruction | Yes | Natural-language edit, e.g. 'lead the hero with audit speed' or 'make the CTA more urgent' |