delete_namespace
Permanently removes a vSphere Namespace and all resources inside it. Previews the blast radius first, then performs the irreversible deletion only after explicit confirmation.
Instructions
[WRITE] Delete a vSphere Namespace and everything inside it (irreversible).
Without confirm=True this only previews: it returns blast_radius (the namespace, and the TKC clusters, VMs and PVCs inside it, with counts and names) and deletes nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user said "delete" earlier: they have not seen what it destroys yet.
confirm=True returns {action: "deleted", namespace, status, blast_radius}. Refused while TKC clusters exist inside (run delete_tkc_cluster on each), and whenever the clusters, VMs or PVCs inside could not be read. Prefer update_namespace to only change quotas.
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": {
"name": "<name>"
},
"name": "delete_namespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Namespace name to delete (discover via list_namespaces). | |
| target | No | vCenter in config.yaml; omit for the default. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True applies it. |