delete_site
Permanently delete a site and all its deployed files. Action requires explicit user confirmation to prevent accidental data loss.
Instructions
Permanently delete a Hostsmith site and all of its deployed files. Destructive - only call after explicit user confirmation. The site URL becomes unreachable immediately and the content cannot be recovered. The user must pass confirm: true for the deletion to proceed; otherwise the call returns an error explaining the safeguard.
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": {
"siteId": "<siteId>"
},
"name": "delete_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The site ID to delete (from `list_sites` or `get_site`). | |
| confirm | No | Set to true only after the user has explicitly confirmed they want to permanently delete this site. Required safeguard - never pass true speculatively. | |
| partition | No | Data partition the site lives in. Omit to use the user's home partition. |