Preview the full retargeted content of one page
preview_location_page_contentClones the template for ONE target and returns the retargeted copy (deterministic text substitution of place names, keyword and business details, not an LLM rewrite) without saving anything to WordPress. Read only. Use it to check the retargeting before generate_location_page_drafts on the whole batch. Keys accepted in target: name, keyword, slug, notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to act on. One of: fencestainingdenver.com. | |
| target | Yes | ||
| locationId | No | Which saved business location the pages speak for (default: the primary one). | |
| baseKeyword | No | The service or product the pages are about, for example "plumber". | |
| slugPattern | No | ||
| titleSuffix | No | ||
| titlePattern | No | ||
| templatePageId | Yes | The WordPress page to clone, from list_page_templates. | |
| templatePurpose | No | What each page is: a town or area (default), a product or brand, or an event. |