vsphere_delete_vm
Permanently delete a virtual machine and all its files from disk. Requires the VM to be powered off and explicit confirmation.
Instructions
Permanently delete a virtual machine and all of its files from disk.
This cannot be undone. The VM must be powered off. Requires permission
mode destructive and an explicit confirm=true.
Args:
vm: VM name, managed object id, UUID or inventory path.
confirm: Must be true; guards against accidental deletion.
wait: Wait for the delete task to finish.
timeout_seconds: Override the default task timeout.
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": {
"vm": "<vm>",
"confirm": "<confirm>"
},
"name": "vsphere_delete_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| wait | No | ||
| confirm | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||