vm_action
Manage virtual machine power state, snapshots, IP information, and guest tools status; modification actions return an operation ID for tracking.
Instructions
电源、快照、Tools 与 IP 操作。修改类动作返回 operation_id。
action: status | start | shutdown | power_off | reboot | pause | resume | suspend | save_state | tools_status | ip | snapshot_list | snapshot_create | snapshot_restore | snapshot_delete。
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>",
"action": "<action>"
},
"name": "vm_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| force | No | ||
| action | Yes | ||
| confirm | No | ||
| start_mode | No | gui | |
| description | No | ||
| snapshot_name | No | ||
| include_memory | No | ||
| delete_children | No |