Lookup postal codes by city
lookup_postal_codes_by_cityFind all postal codes for a city using its country code, state or region abbreviation, and place name.
Instructions
Find all postal codes matching a country code, state/region abbreviation, and city name.
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": {
"country_code": "<country_code>",
"state_code": "<state_code>",
"city": "<city>"
},
"name": "lookup_postal_codes_by_city"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City or place name (e.g. Belmont). | |
| limit | No | Maximum postal codes returned (default 30). | |
| state_code | Yes | State or region abbreviation (e.g. MA, CA). | |
| country_code | Yes | 2-letter ISO country code (e.g. US). |