seo/get-sitemap-settings returns the settings that shape the XML sitemap: whether it is enabled, and which content types and taxonomies are indexed and therefore included.
The “therefore” is the important word.
At a glance
| Ability | seo/get-sitemap-settings |
| Toolset | Yoast SEO — toolset/yoast-seo |
| Group | Yoast SEO › XML Sitemaps |
| Requires | Yoast SEO, active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
Yoast has no sitemap exclusion list. What appears in the sitemap is derived from what is indexed: a content type that is noindexed is absent from the sitemap, and one that is indexed is present.
That is a clean design and it confuses people constantly, because the obvious place to look for “why is this type not in the sitemap” is a sitemap setting that does not exist.
It also means you cannot have a type that is indexed but excluded from the sitemap, or noindexed but included. Those combinations are not expressible, and on reflection neither is coherent — a sitemap is a list of pages you want indexed.
So this read reports the indexing settings from the sitemap’s point of view, which is the way most people are thinking when they ask.
Changing inclusion means changing indexing, through seo/update-archive-settings.
Input
This ability takes no input.
What comes back
| Name | Type | What it is |
|---|---|---|
enabled | boolean | Whether the sitemap is enabled. |
included | object | Which content types and taxonomies are indexed, and therefore in the sitemap. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present 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:
What is in our XML sitemap?
It resolves to one call:
{
"ability": "seo/get-sitemap-settings",
"parameters": {}
}Worth knowing
- There is no sitemap exclusion list. Inclusion follows indexing.
- Indexed-but-excluded and noindexed-but-included are not expressible.
- Change inclusion by changing indexing.
- Read-only.
Related abilities
- List Sitemap Coverage — in and out, side by side
- Update Archive And Indexing Settings — change inclusion
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category