Sitemap validator
ayrank_sitemap_validateValidate XML sitemaps against sitemaps.org and Google rules, discover sitemap paths via robots.txt or /sitemap.xml, inspect child sitemaps, and HEAD-check sample URLs to catch indexing issues.
Instructions
Use to validate an XML sitemap (or find it from a site root via robots.txt, else /sitemap.xml) against the sitemaps.org protocol and Google's rules, including up to 10 child sitemaps of an index, then spot-check up to 20 listed URLs with HEAD. Not for checking every URL in a large sitemap, and not for hreflang in sitemaps.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "ayrank_sitemap_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A sitemap URL like https://example.com/sitemap.xml, or a site root like https://example.com. |