cluster_remove_host
Remove an ESXi host from a vSphere cluster. The host must be in maintenance mode.
Instructions
[WRITE] Remove a host from a cluster (host must be in maintenance mode).
Args: cluster_name: Cluster to remove the host from. host_name: ESXi host name to remove. target: Optional vCenter target name from config.
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": {
"cluster_name": "<cluster_name>",
"host_name": "<host_name>"
},
"name": "cluster_remove_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| host_name | Yes | ||
| cluster_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |