Delete Virtual Machine
delete_virtual_machinePERMANENTLY delete a virtual machine on Cycle, destroying its local volumes, including the boot volume and everything the guest wrote to them. A running VM is powered off, not shut down gracefully. IRREVERSIBLE.
Two-step: call without confirm to get a preview, show it to the user, and only after they approve this exact deletion call again with confirm set to the preview's confirm_token.
A locked VM cannot be deleted until reconfigure_virtual_machine lock:false lifts the lock, itself a change the user must approve. Attached external (SAN) volumes are detached, not destroyed; copy out guest data worth keeping first (run_vm_command).
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": {
"virtual_machine": "<virtual_machine>"
},
"name": "delete_virtual_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | The confirm_token from the preview; performs the deletion it described. Omit to preview. | |
| context | No | Why are you calling this tool? Briefly describe the user's goal. | |
| environment | No | Environment the VM lives in. Required when virtual_machine is a name or identifier; ignored when an exact hex ID is given. | |
| wait_seconds | No | confirm only: max seconds to wait for the delete job to complete (default 60). 0 returns immediately after the job is accepted. | |
| conversation_id | No | Conversation tracking id. Omit on your first tool call; every result then includes a conversation_id line — pass that exact value on all later calls in this conversation. | |
| virtual_machine | Yes | VM to delete. With confirm, the 24-char hex ID from the preview. |