Google maps
Overview
SLUG: GOOGLE_MAPS
Description
Integrate Google Maps to access location data, geocoding, directions, and mapping services in your application.
Authentication Details
OAuth2
API Key
Connecting to Google maps
Create an auth config
Use the dashboard to create an auth config for the Google maps toolkit. This allows you to connect multiple Google maps accounts to Composio for agents to use.
Select App
Navigate to [Google maps](https://platform.composio.dev?next_page=/marketplace/Google maps).
Create and Get auth config ID
Click “Create Google maps Auth Config”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [Google maps toolkit’s playground](https://app.composio.dev/app/Google maps)
For code examples, see the Tool calling guide and Provider examples.
Tool List
GOOGLE_MAPS_AUTOCOMPLETE
Tool Name: Autocomplete Place Predictions
Description
Action Parameters
Action Response
GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX
Tool Name: Compute Route Matrix
Description
Action Parameters
Action Response
GOOGLE_MAPS_DISTANCE_MATRIX_API
Tool Name: Distance Matrix (Legacy)
Description
Action Parameters
Action Response
GOOGLE_MAPS_GEOCODE_ADDRESS
Tool Name: Geocode Address
Description
Action Parameters
Action Response
GOOGLE_MAPS_GEOCODE_ADDRESS_WITH_QUERY
Tool Name: Geocode Address With Query
Description
Action Parameters
Action Response
GOOGLE_MAPS_GEOCODE_DESTINATIONS
Tool Name: Geocode Destinations
Description
Action Parameters
Action Response
GOOGLE_MAPS_GEOCODE_LOCATION
Tool Name: Reverse Geocode Location
Description
Action Parameters
Action Response
GOOGLE_MAPS_GEOCODE_LOCATION_WITH_QUERY
Tool Name: Reverse Geocode Location With Query
Description
Action Parameters
Action Response
GOOGLE_MAPS_GEOCODE_PLACE
Tool Name: Geocode Place by ID
Description
Action Parameters
Action Response
GOOGLE_MAPS_GEOCODING_API
Tool Name: Geocoding API (Legacy)
Description
Action Parameters
Action Response
GOOGLE_MAPS_GEOLOCATE
Tool Name: Geolocate Device
Description
Action Parameters
Action Response
GOOGLE_MAPS_GET2D_TILE
Tool Name: Get 2D Map Tile
Description
Action Parameters
Action Response
GOOGLE_MAPS_GET3D_TILES_ROOT
Tool Name: Get 3D Tiles Root
Description
Action Parameters
Action Response
GOOGLE_MAPS_GET_DIRECTION
Tool Name: Get Directions (Legacy)
Description
Action Parameters
Action Response
GOOGLE_MAPS_GET_PLACE_DETAILS
Tool Name: Get Place Details
Description
Action Parameters
Action Response
GOOGLE_MAPS_GET_ROUTE
Tool Name: Get Route
Description
Action Parameters
Action Response
GOOGLE_MAPS_MAPS_EMBED_API
Tool Name: Embed Google Map
Description
Action Parameters
Action Response
GOOGLE_MAPS_NEARBY_SEARCH
Tool Name: Nearby search
Description
Action Parameters
Action Response
GOOGLE_MAPS_PLACE_PHOTO
Tool Name: Get Place Photo
Description
Action Parameters
Action Response
GOOGLE_MAPS_TEXT_SEARCH
Tool Name: Text Search
Description
Action Parameters
Action Response
GOOGLE_MAPS_TILES_CREATE_SESSION
Tool Name: Create Tiles Session
Description
Action Parameters
Action Response