nucleo-site-options-set
Saves WordPress site title, tagline, homepage, posts page, date and time formats, business schema, icons and modern image formats, validating every value before anything is written.
Instructions
Saves the site title, tagline, homepage, posts page, date and time formats, the business shown in the structured data, the site icons and the modern image formats (avif, webp). Pages are given by slug and must be published. Every value is checked before anything is written.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nucleo-site-options-set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icons | No | Site icons for nc/icon: name (a-z, 0-9, -) → SVG markup. The whole set is replaced. Colors become currentColor, so the icon takes the color style of the block. Scripts, styles, links and unknown elements are removed. A name of a built-in icon replaces it. To add or remove single icons use nucleo-icons-set. | |
| title | No | Site title. Plain text. | |
| tagline | No | Site tagline. Plain text. | |
| business | No | The business behind the site, printed as schema.org JSON-LD on the homepage and on pages whose meta.seo.schema uses "@business". Keys are schema.org names: @type (default LocalBusiness, e.g. AutoPartsStore), name (required), legalName, vatID (e.g. IT01234567890), taxID, description, url, logo, image, telephone, email, address {streetAddress, addressLocality, addressRegion, postalCode, addressCountry}, geo {latitude, longitude}, openingHours (list such as "Mo-Fr 08:00-18:00"), foundingDate, areaServed, sameAs (list of URLs), priceRange. null removes it. Not printed when Yoast or Rank Math is active. | |
| homepage | No | Slug of a published page for the static homepage, or null for the latest posts. | |
| siteIcon | No | Favicon and app icon (WordPress site_icon): URL of an image in the media library, square, at least 512×512 px. Upload it first with nucleo-media-upload. null removes it. | |
| postsPage | No | Slug of a published page that lists the posts, or null for none. | |
| dateFormat | No | PHP date format of the site, e.g. "j F Y" (27 ottobre 2026) or "d/m/Y". | |
| timeFormat | No | PHP time format of the site, e.g. "H:i". | |
| imageFormats | No | Modern image formats generated next to the uploaded images: "avif", "webp" or both, in order of preference. Empty list turns them off. Optional: the original stays the fallback of <picture>. Files are generated on upload; existing images need nucleo-media-formats. |