Search content
wp_searchFull-text search of title and body over the posts the account may read, in any post type or one (the type revision is refused). Returns query, total (WordPress's match count) and results: one page of up to per_page post summaries (id, type, status, title, slug, link, date, modified, author, parent, excerpt, menu_order) in WordPress's search order; there is no page parameter. search_meta=true also scans postmeta values, which finds text that meta-driven themes and builders such as Elementor, ACF or WooCommerce keep there: meta_hits lists per post its id, title, type and up to 10 matching meta keys, without values, among the newest 3000 posts and for at most 50 posts. Meta hits cover only readable posts and keys the account may read anyway; protected "_" keys are reported only to an account with manage_options and only when allow-listed (filter ab_mcp_pro_protected_meta_allowlist). Read-only; needs edit_posts. Listing without a search term is wp_list_posts; a meta value is read with wp_get_post_meta. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Post type or "any". Default any. | |
| query | Yes | Text to search for, matched as WordPress's own search matches it; for search_meta also as a substring of meta values. | |
| per_page | No | How many results to return, 1-100 (clamped). Default 20. | |
| search_meta | No | true also scans postmeta values and adds meta_hits (post id, title, matched meta keys). Values are not returned. Default false. |