30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Import SEO Settings

seo/import-settings applies rows produced by seo/export-settings. It refuses without confirm: true.

Writes are grouped by area so each passes through Yoast’s own per-group validation once.

Before you run it

This overwrites whatever the payload names. Settings not in the payload are left alone, but every key that is in it is replaced — including ones that are site-specific, like logo attachment IDs and webmaster verification codes, which will be wrong if the payload came from another site. Export first with seo/export-settings so there is something to roll back to.

At a glance

Abilityseo/import-settings
ToolsetYoast SEO — toolset/yoast-seo
GroupYoast SEO › Settings
RequiresYoast SEO, active on the site
Capabilitymanage_options
SafetyDestructive — deletes stored values, and refuses to run without confirm: true
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

Yoast validates settings per option group, and running that validation once per key would mean running it hundreds of times for one import — slow, and more importantly not how Yoast expects its own validation to see a payload.

So rows are grouped by area and each group is written once. That is both faster and more correct.

It also produces a useful failure mode: an area that Yoast’s validator rejects is reported and skipped, and the other areas still apply. An import with one bad value is not an import that did nothing.

The rows the payload does not mention are untouched. This is a patch across the areas it names rather than a wholesale replacement of everything.

Idempotent: importing the same payload twice leaves the same settings.

Verify afterwards. A settings import can change titles across the whole site, and seo/get-indexable on a couple of pages is a quick check that the result is what was intended.

Input

NameTypeRequiredWhat it is
rowsarrayYesRows of area, key and value, as produced by seo/export-settings.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
appliedarrayWhich areas were written.
rejectedarrayAreas Yoast’s validation refused, with the reason.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Import these Yoast settings.

It resolves to one call:

{
  "ability": "seo/import-settings",
  "parameters": {
    "rows": [{ "area": "breadcrumbs", "key": "breadcrumbs-enable", "value": true }],
    "confirm": true
  }
}

Worth knowing

  • A rejected area does not block the others. Read the rejected list.
  • Keys not in the payload are untouched.
  • Export first — that is the only rollback.
  • Idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading