Delete node group
delete_node_groupDelete a worker node group from an Ankra-provisioned self-managed cluster: every node in the group and its Kubernetes membership are terminated and removed permanently, one node at a time, each drained through its PodDisruptionBudgets first; a node whose drain is refused is kept, together with the group, and the operation fails naming what refused it. Workloads that can only run on this group become unschedulable. This cannot be undone - re-adding a group with the same name creates fresh, empty nodes. Call list_node_groups first and confirm the group with the user.
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": {
"group_name": "<group_name>"
},
"name": "delete_node_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | No | UUID of the target cluster. Optional when a cluster is selected. | |
| group_name | Yes | Node group to delete (from list_node_groups). | |
| cluster_name | No | Exact name of the target cluster. Optional when a cluster is selected. |