Parse sitemap
sitemap_parseFetch one XML sitemap and return structured JSON for URLs or child sitemap indexes, so agents can inspect site structure without parsing raw XML.
Instructions
Free, read-only. Fetch one XML sitemap and return JSON. A urlset gives urls[] (loc, lastmod, changefreq, priority, plus image/news extensions), urlCount and truncated. A sitemap index gives type 'sitemapindex' and sitemaps[] with the child URLs; children are not fetched, call again per child. Uncompressed XML only, no .gz. Errors on non-2xx, 10 s timeout or private hosts.
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": "sitemap_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | sitemap.xml or sitemap index URL, http(s), uncompressed. | |
| maxUrls | No | Default 100, max 1000; urlCount still reports the full total. Ignored for a sitemap index. |