hmc_delete_adapter
Remove a virtual adapter from an LPAR by UUID to detach storage or network. Provide the partition name or UUID, adapter type, and adapter UUID for immediate deletion.
Instructions
Remove a virtual adapter from an LPAR by its UUID.
lpar_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_lpars). adapter_type is one of: ClientNetworkAdapter, VirtualSCSIClientAdapter, VirtualFibreChannelClientAdapter, VirtualNICDedicated. Get adapter UUIDs from hmc_list_adapters. Removing an adapter detaches that storage/network from the partition. Returns a confirmation string (immediate delete — no job to poll).
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": {
"lpar_name_or_uuid": "<lpar_name_or_uuid>",
"adapter_type": "<adapter_type>",
"adapter_uuid": "<adapter_uuid>"
},
"name": "hmc_delete_adapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adapter_type | Yes | ||
| adapter_uuid | Yes | ||
| lpar_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |