validate_address
Description
Validates and normalizes an address via Google Maps. Generates structured address lines, locality, postal code, region, and GPS coordinates.
When to Use
Before updating billing or shipping address.
Before using tools requiring coordinates (pickup search).
When customer provides a partial address.
Workflow
Collect address components or coordinates.
Call tool.
Read formatted address back to customer.
Use output directly in subsequent flows.
Arguments
All fields optional:
region_code, postal_code, locality, address_lines, latitude, longitude.
Input Schema (simplified)
{
"postal_code": "75010",
"locality": "Paris",
"address_lines": ["10 Rue du Faubourg"]
}
Output
Structured address:
{
"formatted_address": "10 Rue du Faubourg, 75010 Paris, France",
"address_lines": [...],
"locality": "Paris",
"region_code": "FR",
"postal_code": "75010",
"latitude": 48.87,
"longitude": 2.35
}
Sample Prompts
“Validate the address: 1600 Amphitheatre Parkway, Mountain View.”
“Normalize this address: 5 avenue de Lyon, 69003.”