snapshot_management
Create, restore, delete, and list VirtualBox VM snapshots to preserve system states and roll back changes when needed.
Instructions
Comprehensive snapshot management portmanteau tool.
Consolidates all VM snapshot operations into a single interface. All actions
require vm_name; create/restore/delete also require snapshot_name.
Return Format
Dict with success (bool), human-readable message, the action performed,
vm_name, snapshot_name, and operation data. Failures carry a
human-readable error.
Examples
await snapshot_management(action="list", vm_name="MyVM")
await snapshot_management(action="create", vm_name="MyVM", snapshot_name="BeforeUpdate", description="Before system update")
await snapshot_management(action="restore", vm_name="MyVM", snapshot_name="BeforeUpdate")
await snapshot_management(action="delete", vm_name="MyVM", snapshot_name="BeforeUpdate")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": {
"action": "<action>",
"vm_name": "<vm_name>"
},
"name": "snapshot_management"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items for list. | |
| action | Yes | Snapshot operation to perform. | |
| offset | No | Offset for list pagination. | |
| vm_name | Yes | Virtual machine name (all actions). | |
| description | No | Optional description (create only). | |
| snapshot_name | No | Snapshot name (create, restore, delete). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||