Wordpress Edit Page
wordpress_edit_pageEdit WordPress page content by replacing exact source text without resending the page; use replace_all or expected_version to handle repeated text and prevent conflicting edits.
Instructions
Replace text in a WordPress page's source, without resending the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page ID | |
| new_text | Yes | Replacement text | |
| old_text | Yes | Exact text from get_page's content to replace; must occur exactly once | |
| replace_all | No | Replace every occurrence instead of requiring exactly one | |
| expected_version | No | Refuse the edit unless the page is still at this version (get_page) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||