Fetch Sitemap
metalift_sitemapNeed a site's published URLs? Fetches XML sitemaps from robots.txt or /sitemap.xml, follows indexes, and returns page URLs with optional metadata.
Instructions
Fetch XML sitemap URLs for a site. Discovers sitemap locations from robots.txt (Sitemap: directives) or /sitemap.xml, follows sitemap indexes, and returns page URLs with optional lastmod/changefreq/priority. Costs 1 credit. Prefer this over metalift_map when you need the site's published URL list.
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": "metalift_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Site homepage or direct sitemap.xml URL | |
| limit | No | ||
| search | No | Optional substring filter; matching URLs sort first | |
| same_origin | No | Only return URLs on the same origin (default true) |