generate_vm
Generate Azure Virtual Machine Bicep template with NIC, NSG, public IP, and managed identity
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": {
"name": "<name>",
"vmSize": "<vmSize>",
"location": "<location>"
},
"name": "generate_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | VM name (3-15 chars, lowercase alphanumeric) | |
| vmSize | Yes | VM SKU (e.g. Standard_B2s, Standard_D4s_v5) | |
| osImage | No | OS image (Ubuntu-22.04, Windows-Server-2022, RHEL-9) | |
| location | Yes | Azure region (e.g. eastus, westeurope) | |
| publicIp | No | Attach a public IP (default true) | |
| adminUsername | No | Admin username for the VM |