Get Compute VM IP
get-compute-vm-ipRetrieve the external IP address of a Google Compute Engine VM and get a ready-to-use HTTP URL for quick access.
Instructions
Fetch the external IP of a VM and return an http URL
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": {
"zone": "<zone>",
"vmName": "<vmName>"
},
"name": "get-compute-vm-ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Zone of the instance (e.g., us-central1-a) | |
| vmName | Yes | VM name | |
| projectId | No | Project ID (optional, will use default if omitted) |