mcp-easy-ai__wp_list_patterns
Lists the block patterns registered on the site — the ready-made block layouts from core, the active theme and plugins that the editor offers in its Patterns inserter (not synced patterns / reusable blocks, which wp_list_blocks covers). Optional filters, all applied locally: category (a pattern category slug such as featured, text, call-to-action, banner, posts), keyword (case-insensitive match on title, description and keywords), source (where the pattern comes from — core, theme, plugin, pattern-directory/core, pattern-directory/theme, pattern-directory/featured; WordPress records a source only for core and pattern-directory patterns, so for the rest it is derived from the slug prefix: the active theme or its parent → theme, anything else → plugin), per_page (default 20, max 100), page. Returns { patterns: [{ slug, title, description, categories, block_types, post_types, source }], total, total_pages, page, per_page } without the block markup. Pass slug (a pattern `nam… Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| slug | No | A pattern name (e.g. `core/query-standard-posts`, `twentytwentyfour/banner-hero`). Returns that single pattern with its content and required_blocks instead of a list. | |
| source | No | Keep patterns from this source: `core`, `theme`, `plugin`, `pattern-directory/core`, `pattern-directory/theme` or `pattern-directory/featured`. Derived from the slug prefix for patterns that do not declare one (theme patterns → `theme`, others → `plugin`). | |
| keyword | No | Case-insensitive match on title, description and keywords. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| category | No | Keep patterns in this category slug (e.g. `featured`, `text`, `call-to-action`, `banner`, `posts`). | |
| per_page | No | Items per page (1-100). |