sitemap_urls
Extract URLs from a sitemap or sitemap index, including child and .gz sitemaps, then optionally filter by substring and cap results for targeted URL lists.
Instructions
sitemap.xml URL extractor: reads a sitemap or sitemap index (incl. .gz) and up to 10 child sitemaps, returns URLs with lastmod/changefreq/priority, optional substring filter, capped list (up to 5000). Costs 0.002 USDC on Base per successful call (x402). Without a payment key this tool returns the 402 challenge.
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_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Sitemap URL or site origin | |
| limit | No | 1-5000, default 500 | |
| contains | No | Only URLs containing this text | |
| max_children | No | 0-10, default 5 |