enrich_address
Normalize a postal address by title-casing components and validating US ZIP codes. Provides a clean, standardized address format without USPS validation or geocoding.
Instructions
Normalize a postal address.
Title-cases components and regex-checks US ZIP codes. This is not USPS validation or geocoding.
Args: street: Street line (e.g. "123 Main St") city: City name state: State / province abbreviation (e.g. "CA") postal_code: ZIP or postal code country: ISO 3166-1 alpha-2 country code (default "US")
Returns: dict with keys: normalized, us_zip_valid, one_line, method (normalization), geocoded (false), usps_validated (false), cost_usd
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": {
"street": "<street>",
"city": "<city>"
},
"name": "enrich_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| state | No | ||
| street | Yes | ||
| country | No | US | |
| postal_code | No |