Opus Growth

Search WordPress Content

Finds the WordPress posts/pages that contain an EXACT string (or regex) in their content or title — the precise search wordpress_list_posts(search=...) cannot do, because WordPress' own search is fuzzy and…

Type
Lecture seule
Crédits
1
Plateforme
WordPress
Validation
Inutile, rien ne change

Ce qu'il fait

Finds the WordPress posts/pages that contain an EXACT string (or regex) in their content or title — the precise search wordpress_list_posts(search=...) cannot do, because WordPress' own search is fuzzy and word-tokenised (it matches a shortcode like [vc_column_text] on every WPBakery page, and misses bracketed or punctuated tokens). It locates text such as a stale phone number, an outdated claim or a broken shortcode across a whole site and returns the matching ids, which wordpress_bulk_replace accepts. search_in = "content" (default) | "title" | "both". regex=true treats query as a Python regular expression; otherwise it is a literal, case-sensitive substring. type filters post types ("page", "post" or "page,post"; empty scans both). status defaults to "publish". It scans up to max_scan posts per call (no upper bound), newest-first; when the time budget or max_scan ends the scan, the reply carries next_offset to continue. Every post is fetched one by one (~1 s each on a typical host), so one call stops after about 110 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 where it stopped. Each hit returns id, slug, title, type, match_count and a short snippet around the first match; the hit list is capped so the result stays small. Read-only.

La description est en anglais car c'est le texte officiel que voit votre IA.

MCP: wordpress_search_content

Comment l'utiliser

Vous n'appelez pas les outils par leur nom. Écrivez ce que vous voulez dans ChatGPT, Claude ou un autre assistant connecté à Opus Growth ; l'IA choisit cet outil quand il convient.

Paramètres

NomTypeObligatoirePar défaut
querystringObligatoire·Search or report query used to filter or select results.
search_instringFacultatifcontentcontent · title · both · Exact search in value for wordpress search content. 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.
regexbooleanFacultatiffalseWhether to enable regex for this operation.
typestringFacultatif·Resource or content type accepted by this operation. Use one of the provider-supported values.
statusstringFacultatifpublishDesired provider status for this resource; choose an allowed value from this schema.
max_scanintegerFacultatif150Numeric max scan value for wordpress search content. Use the provider's expected unit, range, and precision.
offsetintegerFacultatif0Zero-based position at which to start reading results. Use the next_offset returned by the previous response when present.
site_urlstringFacultatif·Exact URL of the connected WordPress site to target when more than one site is available.
page_tokenstringFacultatif·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.