extract_sitemap
Extract all URLs from a sitemap file, including sitemap indexes that link to child sitemaps. Get URL entries with optional lastmod, changefreq, and priority metadata.
Instructions
Extract all URLs from a specific sitemap file (including sitemap indexes that link to child sitemaps). Returns URL entries with optional lastmod, changefreq, and priority metadata.
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": "extract_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL of the sitemap file, e.g. 'https://example.com/sitemap.xml'. | |
| max_urls | No | Maximum number of URLs to return. Defaults to 1000. Max allowed by your plan. |