get_ip_postal
Retrieve postal or ZIP code information from any IP address to determine geographic location for location-based services, verification, or analytics.
Instructions
Get just the postal code for an IP address.
Args: ip: IP address to lookup. If None, returns current postal code.
Returns: Postal or ZIP code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_ip_postal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |