Skip to main content
The Google Places Tool allows your agent to utilize the Google Places API in order to find addresses, phone numbers, website, etc. from text about a location listed on Google Places.

Setup

You will need to get an API key from Google here and enable the new Places API. Then, set your API key as process.env.GOOGLE_PLACES_API_KEY or pass it in as an apiKey constructor argument.

Usage

npm