Delete a sitemap
gsc_delete_sitemapRemove a sitemap from a Search Console property to deregister it. Google stops tracking the sitemap, but the file remains on your server.
Instructions
Remove a sitemap from a property in Search Console. This is a DESTRUCTIVE write action: it deregisters the sitemap (it does not delete the file from your server, but Google stops tracking it). Requires the full webmasters OAuth scope.
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_url": "<site_url>",
"feedpath": "<feedpath>"
},
"name": "gsc_delete_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedpath | Yes | Full URL of the sitemap to remove, e.g. https://example.com/sitemap.xml. | |
| site_url | Yes | The Search Console property. Use the exact form shown by gsc_list_sites: a Domain property is 'sc-domain:example.com'; a URL-prefix property is the full origin with a trailing slash, e.g. 'https://example.com/'. |