assist_transform_page
Intelligently transform ALL of a page's text by a HIGH-LEVEL instruction (e.g. 'respecialize this urology page to pulmonology' or 'rewrite for a Mumbai audience') — handles the long tail of related terms a literal find/replace can't (conditions, procedures, patient language). XeoRank reads every text field server-side, rewrites them contextually (HTML preserved), and applies through the validated patch path. Use dry_run=true FIRST — it previews sample rewrites + the estimated credit cost for FREE; only a real apply (dry_run=false) debits credits. Best for making a cloned page genuinely about a different topic. Pages/posts only — for a header/footer/single template use wp_patch_template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview sample rewrites + estimated credit cost for FREE, without writing or charging (default false) | |
| post_id | Yes | WordPress page/post numeric ID | |
| site_id | Yes | Site UUID (from list_sites) | |
| instruction | Yes | High-level transform, e.g. 'respecialize from urology to pulmonology — swap conditions, procedures and patient language' |