Get VM IP Address
fusion_get_ipRetrieve the IP address of a running VMware Fusion virtual machine by providing the path to its .vmx file. Optionally wait for the guest to obtain an IP.
Instructions
Get the IP address of a running VMware Fusion guest OS.
The VM must be running and have VMware Tools installed for this to work.
Args:
vmx_path (string): Absolute path to the VM's .vmx file.
wait (boolean, optional): If true, waits for the guest to obtain an IP. Default: true.
Returns: The IP address as a string, or an error if unavailable.
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": {
"vmx_path": "<vmx_path>"
},
"name": "fusion_get_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the guest to obtain an IP address | |
| vmx_path | Yes | Absolute path to the .vmx file | |
| vm_password | No | Encryption password for the VM (if encrypted) |