List sitemap URLs
list_sitemap_urlsDownloads a sitemap from the site itself and lists its page URLs with lastmod, or its child sitemaps when it is a sitemap index. Use it to compare the sitemap with search_analytics_query pages or to choose URLs for inspect_urls. This is the live file, which can differ from what Google last downloaded. Page through large sitemaps with startRow and nextStartRow. Gzipped sitemaps are not supported.
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": {
"projectId": "<projectId>",
"sitemapUrl": "<sitemapUrl>"
},
"name": "list_sitemap_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rowLimit | No | ||
| startRow | No | ||
| projectId | Yes | Site to act on, from list_sites. Only its connected Search Console property is used. | |
| sitemapUrl | Yes | A sitemap or sitemap index on the site’s Search Console property, such as one from list_sitemaps. |