deploy_vm
Deploy a new VM or container on a specified device using Docker or LXD platforms. Configure image, ports, volumes, environment variables, and startup commands.
Instructions
Deploy a new VM/container on a specific device
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>"
},
"name": "deploy_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | Name for the new VM/container | |
| platform | Yes | VM platform to use (docker or lxd) | |
| device_id | Yes | Database ID of the target device | |
| vm_config | No | VM configuration |