control_vm
Start, stop, or restart virtual machines and containers on specified devices using Docker or LXD platforms.
Instructions
Control VM state (start, stop, restart)
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": {
"device_id": "<device_id>",
"platform": "<platform>",
"vm_name": "<vm_name>",
"action": "<action>"
},
"name": "control_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| vm_name | Yes | Name of the VM/container | |
| platform | Yes | VM platform | |
| device_id | Yes | Database ID of the target device |