gsc_list_sitemaps
Retrieve sitemaps for a Google Search Console property, filter by sitemap index, or fetch a specific sitemap entry via feedpath to inspect submission status and errors.
Instructions
List sitemaps on a site - or fetch one sitemap by feedpath.
Args: site_url: the Search Console property. sitemap_index: optional - if set, list only the children of a sitemap-index URL (e.g. "https://example.com/sitemap_index.xml"). feedpath: optional - if set, returns the single sitemap entry at that URL instead of the list (absorbs the prior get_sitemap tool).
Returns: {"sitemaps": [...], "count": N} or {"sitemap": {...}} if feedpath given. Each entry: {path, lastSubmitted, lastDownloaded, isPending, isSitemapsIndex, type, warnings, errors, contents}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedpath | No | ||
| site_url | Yes | ||
| sitemap_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |