elementor_find_replace
Find and replace text across all widgets on a page with a two-step process: dry-run to preview matches, then apply with automatic backup and rollback on validation failure.
Instructions
Find/replace plain text in every widget on one page. TWO-CALL FLOW: dry-run returns match_count + detailed widget hits + confirmation_token. Second call with token applies the change with auto-backup + JSON validation + auto-rollback if validation fails + CSS flush.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| page_id | Yes | ||
| find | Yes | ||
| replace | Yes | ||
| widget_type | No | ||
| case_sensitive | No | ||
| backup_to_file | No | Also dump backup to /tmp/elementor-mcp-backups/ | |
| confirmation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| page_id | Yes | ||
| match_count | Yes | ||
| affected_widgets | No | ||
| confirmation_token | No | ||
| expires_in_seconds | No | ||
| backup_meta_key | No | ||
| backup_file | No | ||
| css_flush | No | ||
| validation_error | No |