GoogleMaps

@Serializable
data class GoogleMaps(val authConfig: AuthConfig? = null, val enableWidget: Boolean? = null)

Tool to retrieve knowledge from Google Maps.

Constructors

Link copied to clipboard
constructor(authConfig: AuthConfig? = null, enableWidget: Boolean? = null)

Properties

Link copied to clipboard
val authConfig: AuthConfig? = null

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

Link copied to clipboard
val enableWidget: Boolean? = null

Deprecated. The Google Maps contextual widget behavior in Grounding with Google Maps is being deprecated; this field is planned for removal and no longer has any effect once removed. Optional. Whether to return a widget context token in the GroundingMetadata of the response.