search_replace_preview
Preview site-wide text replacements before applying changes. Shows affected pages, match counts, and field breakdowns to verify modifications.
Instructions
Preview a site-wide search-and-replace without making any changes. ALWAYS run this before search_replace_execute.
Returns: affected page count, total match count, and per-page field breakdown. For targeted replacements (a folder, template, or category), use scoped_search_replace_preview instead.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex | No | If true, treat search as a Go regular expression. Use $1, $2 for capture group references in replace. | |
| replace | Yes | Text to replace with,required | |
| search | Yes | Text to search for,required |