Search Console: Delete Sitemap
gsc_delete_sitemapRemove one sitemap submission from a Google Search Console property of the user's connected Google login (Search Console's sitemaps.delete), for example an old or duplicate sitemap. The sitemap must be in the property's submitted list (gsc_list_sitemaps); anything else changes nothing. The connected login needs Full user or Owner permission. Does not delete the sitemap file from the site, does not remove any URL from Google Search results, and does not stop Google from discovering those URLs by other means. Name the sitemap to the user and get their approval first.
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": {
"sitemap_url": "<sitemap_url>"
},
"name": "gsc_delete_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | No | The Search Console property: sc-domain:example.com or https://example.com/, as gsc_list_sites lists it. May be omitted when the login reaches exactly one property. | |
| sitemap_url | Yes | The submitted sitemap's full URL, exactly as gsc_list_sitemaps reports its path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The Search Console property, as Google spells it. | |
| changed | Yes | True only when this call changed Search Console. | |
| operation | Yes | What happened: the change made, no_change, or dry_run. | |
| sitemapUrl | No | The sitemap named in the call. | |
| submittedSitemaps | No | On no_change: the sitemaps the property does have submitted. |