royal-mcp__wp_replace_in_page
Find/replace a literal string inside a page's content without resending the full body. Page-typed variant of wp_replace_in_post — same semantics: case-sensitive literal match, all occurrences replaced, dry_run preview, expected_count guard, read-after-write verification. (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| find | Yes | Literal text to find in the page content (case-sensitive, no regex). | |
| dry_run | No | Report the occurrence count without writing. Default false. | |
| replace | Yes | Literal replacement text. Empty string deletes the matched text. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| expected_count | No | Optional guard: abort without writing unless the number of occurrences equals this value. |