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…

النوع
قراءة فقط
الرصيد
1
المنصة
WordPress
الموافقة
غير مطلوبة، لا يتغير شيء

ماذا يفعل

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.

وصف الأداة بالإنجليزية لأنه النص الرسمي الذي يراه الذكاء الاصطناعي.

MCP: wordpress_search_content

كيفية الاستخدام

لا تستدعي الأدوات بأسمائها. اكتب ما تريد في ChatGPT أو Claude أو أي مساعد متصل بـ Opus Growth بكلماتك، وسيختار الذكاء الاصطناعي هذه الأداة عندما تناسب.

المعلمات

الاسمالنوعإلزاميالافتراضي
querystringإلزامي·Search or report query used to filter or select results.
search_instringاختياريcontentcontent · 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.
regexbooleanاختياريfalseWhether to enable regex for this operation.
typestringاختياري·Resource or content type accepted by this operation. Use one of the provider-supported values.
statusstringاختياريpublishDesired provider status for this resource; choose an allowed value from this schema.
max_scanintegerاختياري150Numeric max scan value for wordpress search content. Use the provider's expected unit, range, and precision.
offsetintegerاختياري0Zero-based position at which to start reading results. Use the next_offset returned by the previous response when present.
site_urlstringاختياري·Exact URL of the connected WordPress site to target when more than one site is available.
page_tokenstringاختياري·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.