A tool that allows a Gemini model to connect to Google Maps to access and incorporate location-based information into its responses.

> [!IMPORTANT]
> **Important:** If using Grounding with Google Maps, you are required to comply with the "Grounding with Google Maps" usage requirements for your chosen API provider: [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-maps) or Agent Platform Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section within the Service Specific Terms).

**Signature:**

    export interface GoogleMapsTool 

## Properties

| Property | Type | Description |
|---|---|---|
| [googleMaps](https://firebase.google.com/docs/reference/js/ai.googlemapstool#googlemapstoolgooglemaps) | [GoogleMaps](https://firebase.google.com/docs/reference/js/ai.googlemaps#googlemaps_interface) | 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](https://ai.google.dev/gemini-api/terms#grounding-with-google-maps) or Agent Platform Gemini API (see [Service Terms](https://cloud.google.com/terms/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](https://ai.google.dev/gemini-api/terms#grounding-with-google-maps) or Agent Platform Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section within the Service Specific Terms).

**Signature:**

    googleMaps: GoogleMaps;