get_vm_ips
Retrieve the IP addresses assigned to a virtual machine. Requires QEMU guest agent installed and running inside the VM.
Instructions
Get the IP addresses assigned to a virtual machine.
Requires the QEMU guest agent to be installed and running inside the VM. Install it with: sudo apt install qemu-guest-agent && sudo systemctl enable --now qemu-guest-agent
Args: vm_id: The VM identifier
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_id": "<vm_id>"
},
"name": "get_vm_ips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |