Interface GoogleMaps

Tool to retrieve knowledge from Google Maps.

interface GoogleMaps {
    authConfig?: AuthConfig;
    enableWidget?: boolean;
}

Properties

authConfig?: AuthConfig

The authentication config to access the API. Only API key is supported. This field is not supported in Gemini API.

enableWidget?: boolean

Optional. Whether to return a widget context token in the GroundingMetadata of the response. Developers can use the widget context token to render a Google Maps widget with geospatial context related to the places that the model references in the response.