vm_destroy
Destroy a sandbox virtual machine and release its ports, with an option to save or discard the filesystem snapshot.
Instructions
Destroy a sandbox and free its ports. By default the VM filesystem is saved as a snapshot so recreating with the same label resumes where you left off. Set save_snapshot to false to destroy without saving (e.g. when the VM contains sensitive data the user does not want persisted). Use vm_reset to also delete any previously saved snapshot.
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": {
"id": "<id>"
},
"name": "vm_destroy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sandbox id from vm_create | |
| save_snapshot | No | Whether to save a snapshot before destroying. Defaults to true. |