seo/list-sitemap-index reports which post types and taxonomies are included in the XML sitemap and which are left out.
A content type missing from the sitemap is really a noindex setting, which is worth knowing before hunting for a switch that does not exist.
At a glance
| Ability | seo/list-sitemap-index |
| 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
Showing both sides is what makes this useful. A list of what is included prompts the question “is that everything?”; a list of what is excluded answers it.
The excluded side is also where the surprises are. Post types registered by plugins are frequently noindexed by default and therefore absent, and on a site where those types hold real public content that is a large omission nobody chose.
The opposite surprise is more common still: an internal post type — a form entry, a reusable block, a log — that is indexed and therefore advertised to search engines.
Both are one setting away from correct, and both are invisible until somebody looks at the coverage rather than at the sitemap itself.
The setting is the indexing one, in seo/update-archive-settings.
Input
This ability takes no input.
What comes back
| Name | Type | What it is |
|---|---|---|
included | array | Content types and taxonomies in the sitemap. |
excluded | array | Those left out, with the reason. |
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:
Is everything that should be in our sitemap actually in it?
It resolves to one call:
{
"ability": "seo/list-sitemap-index",
"parameters": {}
}Worth knowing
- Exclusion is always a noindex setting, never a sitemap setting.
- Plugin-registered post types are often noindexed by default.
- Internal post types being indexed is the more common mistake.
- Read-only.
Related abilities
- Update Archive And Indexing Settings — the setting behind this
- Get Sitemap Settings — the same from the settings side
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category