Optimize for search
update_seoSet SEO metadata for a site or a specific page. Per-page mode (with page_slug) writes into the page's metadata.seo and ships as a new draft version — call publish to push live. Site-wide mode (no page_slug) writes into the site's metadata.seo and is live immediately, as defaults under each page's own values (see each field). Supported fields: title, description, og_image_url, robots (index|noindex), language (BCP 47 — a page's own for a translated page), and — site-wide only — business (schema.org type, address, telephone, email, logo, same_as for the home page's structured data; use it when the owner asks to appear as a local business in search) and verification (Google Search Console, Bing, Meta or Pinterest ownership tag). Omitted fields are kept; null removes one. get_site returns the current values, including each page's own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo | Yes | SEO fields to set. Only the provided fields are updated; omitted fields are left untouched. | |
| site_id | Yes | The site UUID to update SEO for. | |
| page_slug | No | Page slug to update (e.g. `/about`), or a collection item's own address (e.g. `/work/kitchen-refit`) for that item's title, description and share image. When omitted, applies the SEO values as site-wide defaults that fall through to pages without their own overrides. |