royal-mcp__wp_verify_rendered_page
Post-write verification tool. Fetches the actual rendered HTML that WordPress serves at a URL via a loopback request and returns the response status, a subset of response headers (content-type, cache-control, x-cache), the page title, meta description, first h1, counts of script and stylesheet link tags, robots_meta (content of , null when absent), x_robots_tag (the X-Robots-Tag header, null when absent), redirect_chain ([{url, status}] for each redirect followed, up to 5; [] when none — response_status is the final status), tls_valid (whether the https certificate verifies; null for http), and (when include_body_excerpt is true) a 500-char excerpt of the page body. Optional selector arg reports whether an id/class selector is present in the served HTML. Use after any write that changes content, theme, or options to catch page-builder caches, object caches, or edge caches serving stale HTML even when the DB write returned success. Rate-limited to 10 calls per minute per URL; the redirect … Through Royally: read-only, runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL on this site to fetch (must match home_url() origin). | |
| scope | No | page (default) matches anywhere; article matches only inside the detected article body, so header, sidebar and footer are left out. | |
| checks | No | Run the page checks (visible H1 count, duplicate H1, duplicate table of contents, duplicate excerpt, leftover shortcodes) without a selector. They also run whenever selector or scope is given. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| max_text | No | Most characters of visible text per match. Default 300. | |
| selector | No | CSS selector to match in the served HTML. Supported: tag, .class, #id, [attr], [attr="value"], [attr^="value"], [attr*="value"], [attr$="value"], combinations of those (img.hero[alt]), descendant (article img) and child (figure > img). Returns matches[] with tag, id, classes, visible text, an html excerpt, and for images src, srcset, sizes, alt, width, height, loading, decoding and the figure caption; for links href and rel. | |
| max_matches | No | Most matches to return. Default 20, up to 100. | |
| include_body_excerpt | No | When true, include a 500-char excerpt of the <body> in the response. Default false. |