deploy_virtual_machine
Deploy a new CloudStack virtual machine by specifying zone, template, and service offering, with optional network, SSH key, and user-data configuration.
Instructions
Deploy a new virtual machine
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": {
"serviceofferingid": "<serviceofferingid>",
"templateid": "<templateid>",
"zoneid": "<zoneid>"
},
"name": "deploy_virtual_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | VM name | |
| zoneid | Yes | Zone ID | |
| keypair | No | SSH key pair name | |
| userdata | No | User data (base64 encoded) | |
| networkids | No | Network IDs (comma-separated) | |
| templateid | Yes | Template ID | |
| displayname | No | VM display name | |
| securitygroupids | No | Security group IDs (comma-separated) | |
| serviceofferingid | Yes | Service offering ID |