Delete a site
delete_sitePermanently delete a site and its subdomain, files, and history; confirm the exact subdomain to prevent mistakes. This action cannot be undone.
Instructions
Takes a site down permanently — its files, its history and its subdomain. Nothing here undoes it, and the subdomain stays reserved — nobody can use it again. Requires confirm to repeat the site's own subdomain exactly; ask the person for it rather than filling it in from what you already know, because that is the step this asks for. To take a site off the air and keep it, use pause_site instead; resume_site brings it back. Only an owner of the account can delete a site; on a team where the person is a member, say an owner has to do it rather than asking them for the subdomain.
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>",
"confirm": "<confirm>"
},
"name": "delete_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Subdomain or site id to delete. | |
| confirm | Yes | The subdomain of the site being deleted, repeated exactly. A mismatch refuses the call rather than guessing which site was meant. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Identifier of the site that was deleted. | |
| subdomain | Yes | Its subdomain, now unclaimed. |