royal-mcp__wp_update_seo_meta
Update SEO meta fields on a post. Auto-routes title/description/focus_keyword/noindex to whichever SEO plugin is active (Yoast, Rank Math, AIOSEO, SEOPress, or SEObolt). og_title / og_description route to Yoast, Rank Math, and SEOPress; AIOSEO + SEObolt store OG data in different shapes so those fields fall through to unsupported_fields. twitter_title / twitter_description / twitter_image route to Yoast, Rank Math, SEOPress, and SEObolt; AIOSEO stores twitter data in its own database table so all three twitter fields fall through to unsupported_fields until a dedicated AIOSEO adapter lands. The slug field is a WordPress-native field and works regardless of SEO plugin. The response lists each field under fields with its value before, the value requested, the value saved and verified (true when saved matches requested). Requires edit_post capability on the target post. (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug (post_name). WordPress will sanitize and ensure uniqueness; the actually-saved value is returned in the response so the caller can confirm. | |
| force | No | Replace a field that holds an SEO template (template variables such as %%title%%) with a value that has none. Without it such a write is refused (template_overwrite). | |
| title | No | SEO title (replaces the meta title used in browser tabs and SERPs) | |
| noindex | No | Tell search engines not to index this URL | |
| post_id | Yes | ||
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| og_title | No | Open Graph title (Facebook / Slack / LinkedIn previews). Yoast + Rank Math only. | |
| description | No | SEO meta description (used in SERPs) | |
| focus_keyword | No | Primary focus keyword for SEO scoring (AIOSEO stores this as focus_keyphrase internally) | |
| twitter_image | No | Twitter card image URL. Routed to Yoast, Rank Math, and SEObolt; AIOSEO stores this in a custom table and returns as unsupported_field. | |
| twitter_title | No | Twitter card title. Routed to the active SEO plugin's Twitter-title meta key (Yoast, Rank Math, AIOSEO, SEObolt). | |
| og_description | No | Open Graph description. Yoast + Rank Math only. | |
| twitter_description | No | Twitter card description. Same per-plugin routing as twitter_title. |