get_sitemap
Retrieve all URLs from a sitemap, including gzip-compressed and nested sitemap indexes, with metadata such as lastmod and priority.
Instructions
Fetch a sitemap and return the URLs it lists.
Handles gzip-compressed sitemaps and recurses one level of into its
child sitemaps. url should point at a sitemap (e.g. https://site.com/sitemap.xml).
limit: maximum URLs to return (1-50000). Each entry is
{"loc": ..., "lastmod": ..., "changefreq": ..., "priority": ...}.
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": "get_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| limit | No | ||
| obey_robots | No |