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…

Tipo
Somente leitura
Créditos
1
Plataforma
WordPress
Aprovação
Não precisa, nada muda

O que faz

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.

A descrição está em inglês porque é o texto oficial que sua IA vê.

MCP: wordpress_search_content

Como usar

Você não chama as ferramentas pelo nome. Escreva o que quer no ChatGPT, Claude ou outro assistente conectado ao Opus Growth; a IA escolhe esta ferramenta quando ela serve.

Parâmetros

NomeTipoObrigatórioPadrão
querystringObrigatório·Search or report query used to filter or select results.
search_instringOpcionalcontentcontent · 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.
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.
max_scanintegerOpcional150Numeric max scan value for wordpress search content. 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.
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.