Search Console: Get Sitemap
gsc_get_sitemapRetrieve one submitted sitemap’s processing status, including submission and download dates, pending state, index flag, warning and error counts, and submitted URL counts by content type.
Instructions
One submitted sitemap's processing status: last submitted and downloaded, pending, whether it is an index, warning and error counts, and submitted URL counts per content type. A 404 means it was never submitted for this property (gsc_list_sitemaps lists those that were).
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": {
"site": "<site>",
"sitemap_url": "<sitemap_url>"
},
"name": "gsc_get_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The Search Console property, e.g. "sc-domain:example.com" (a domain property: every protocol and subdomain) or "https://www.example.com/" (a URL-prefix property: exactly that scheme, host and path). A bare "example.com" or a URL without its trailing slash is resolved against the properties this account can see, preferring the domain property; the response's `site` says which property was read. gsc_list_sites lists them. | |
| sitemap_url | Yes | Full URL of the sitemap, e.g. "https://www.example.com/sitemap.xml" — the `path` from gsc_list_sitemaps. |