Remove a sitemap
delete_sitemapRemoves a sitemap from Search Console tracking without deleting the file or removing already-indexed URLs.
Instructions
Removes a sitemap from Search Console. This only stops Search Console tracking it; the file on the website is untouched and already-indexed URLs stay indexed. Requires write access. Confirm with the user before calling.
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": {
"sitemapUrl": "<sitemapUrl>"
},
"name": "delete_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Search Console property, e.g. "sc-domain:example.com", "https://www.example.com/", or just "example.com" (matched to your properties). Optional when you have one property or GSC_DEFAULT_SITE is set. | |
| sitemapUrl | Yes | Full sitemap URL, e.g. "https://www.example.com/sitemap.xml". Must belong to the property. |