Opus Growth

Bulk Find & Replace (WordPress)

Applies the SAME find/replace to MANY WordPress posts/pages in one call, with a mandatory dry-run.

Tipo
Hace cambios
Créditos
1
Plataforma
WordPress
Aprobación
Primero vista previa, se aplica tras tu aprobación

Qué hace

Applies the SAME find/replace to MANY WordPress posts/pages in one call, with a mandatory dry-run. wordpress_update_post's replace works well but takes a single id, so fixing the same defect on 11 pages meant 11 calls; this does it once, and its confirm=false PREVIEW shows every page that would change and HOW MANY times before anything is written, so an unintended broad match is visible first. Target pages come either from ids=[...] (wordpress_search_content returns them) or from a search filter (search=..., search_in/regex/type/status as in wordpress_search_content). replace=[{"find":"old","with":"new"}] has the same schema and safety as wordpress_update_post: a missing "with" is refused, never treated as a delete. match="normalized" (top-level or per entry) treats invisible characters (non-breaking space, smart quotes, long dashes) as their plain equivalents. DESTRUCTIVE: confirm=false previews per-page counts and writes NOTHING; confirm=true applies. Elementor/Divi pages whose visible text is not in post_content are reported as skipped, not silently missed. The search filter fetches every post one by one (~1 s each), so on a large site one call stops scanning after about 100 seconds and returns what it found so far with partial=true and next_offset; call again with offset=next_offset (same other arguments) to continue. For big sites it is faster to run wordpress_search_content first and pass its ids here.

La descripción está en inglés porque es el texto oficial que ve tu IA.

MCP: wordpress_bulk_replace

Cómo usarla

No llamas a las herramientas por su nombre. Escribe lo que quieres en ChatGPT, Claude u otro asistente conectado a Opus Growth; la IA elige esta herramienta cuando encaja.

Como esta herramienta cambia tu cuenta, tu asistente muestra primero una vista previa exacta del cambio. Nada se aplica sin tu sí y cada cambio aplicado queda en tu registro de auditoría.

Parámetros

NombreTipoObligatorioPor defecto
replacearrayOpcional·Replacement text or structured replacement rule to apply when this operation supports replacement.
idsarrayOpcional·Ids value for wordpress bulk replace. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
searchstringOpcional·Text used to search or filter resources.
search_instringOpcionalcontentcontent · title · both · Exact search in value for wordpress bulk replace. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation; matching the schema pattern.
regexbooleanOpcionalfalseWhether to enable regex for this operation.
typestringOpcional·Resource or content type accepted by this operation. Use one of the provider-supported values.
statusstringOpcionalpublishDesired provider status for this resource; choose an allowed value from this schema.
matchstringOpcional·literal · normalized · Exact match value for wordpress bulk replace. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation; matching the schema pattern.
max_scanintegerOpcional150Numeric max scan value for wordpress bulk replace. Use the provider's expected unit, range, and precision.
offsetintegerOpcional0Zero-based position at which to start reading results. Use the next_offset returned by the previous response when present.
confirmbooleanOpcionalfalseSafety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change.
site_urlstringOpcional·Exact URL of the connected WordPress site to target when more than one site is available.
page_tokenstringOpcional·Continuation token returned as next_page_token by a previous call. Leave empty for the first page; pass it unchanged to retrieve the cached next page.