delete_namespace
Preview the blast radius, then permanently delete a vSphere Namespace and everything inside it 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.
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. | |
| dry_run | No | Deprecated alias for confirm; removed in the next minor release. dry_run=True previews. | |
| confirmed | No | Deprecated alias for confirm; removed in the next minor release. Acts only together with dry_run=False; confirmed=False previews. |