List sitemaps
list_sitemapsLists the sitemaps submitted for the site’s Search Console property with errors, warnings, pending state and submitted URL counts by content type. The Search Console API does not list sitemap URLs or report how many are indexed; use list_sitemap_urls for the URLs and inspect_urls for their index status. Pass sitemapIndex to list a sitemap index’s children. Pass sitemapUrl to read only that submitted sitemap, with its last submitted and downloaded times.
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>"
},
"name": "list_sitemaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Site to act on, from list_sites. Only its connected Search Console property is used. | |
| sitemapUrl | No | Read only this sitemap. It must be a submitted sitemap: call list_sitemaps without sitemapUrl for the valid paths. Not with sitemapIndex. | |
| sitemapIndex | No | URL of a sitemap index. |