A tool that allows a Gemini model to connect to Google Maps to access and incorporate location-based information into its responses.
Signature:
export interface GoogleMapsTool
Properties
| Property | Type | Description |
|---|---|---|
| googleMaps | GoogleMaps | Specifies the Google Maps configuration.When using this feature, you are required to comply with the "Grounding with Google Maps" usage requirements for your chosen API provider: Gemini Developer API or Vertex AI Gemini API (see Service Terms section within the Service Specific Terms). |
GoogleMapsTool.googleMaps
Specifies the Google Maps configuration.
When using this feature, you are required to comply with the "Grounding with Google Maps" usage requirements for your chosen API provider: Gemini Developer API or Vertex AI Gemini API (see Service Terms section within the Service Specific Terms).
Signature:
googleMaps: GoogleMaps;