Google Maps
Search places, geocode addresses, get directions, and calculate distances using Google Maps Platform
The Google Maps integration connects your agents to Google Maps Platform APIs for searching places, geocoding addresses, getting directions, and calculating distances between locations.
Prerequisites
You need:
- Google Cloud API Key — A Google Cloud API key with the following APIs enabled:
- Places API (New)
- Geocoding API
- Directions API
- Distance Matrix API
To create an API key, go to the Google Cloud Console, create a new key, and enable the required APIs under APIs & Services > Library.
Setup
- Open Integrations from the sidebar
- Select Google Maps from the catalog
- Click Add Integration Config
- Give the config a display name (e.g., "Google Maps")
- Enter your API Key
- Save the config
Using in Your Agent
- Open your agent in Agent Studio and select an Agent Step
- Under Attached Integration Configurations, click Attach configuration and choose your config
- Attach Google Maps tools from the tools panel
- Tools are referenced as
google_maps.places_search,google_maps.directions, etc.
Available Tools
| Tool | Description | Action Type |
|---|---|---|
places_search | Search for places (businesses, landmarks, addresses) by text query | ReadOnly |
place_details | Get detailed info about a place by its place ID (hours, reviews, contact) | ReadOnly |
geocode | Convert between addresses and coordinates (forward and reverse geocoding) | ReadOnly |
directions | Get step-by-step route directions between two locations | ReadOnly |
distance_matrix | Calculate travel distance and duration between multiple origins and destinations | ReadOnly |