OptionalauthThe authentication config to access the API. Only API key is supported. This field is not supported in Gemini API.
OptionalenableDeprecated. 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.
OptionalgroundingOptional. Specifies the types of Google Maps grounding to enable. Defaults to places when unset, and to places and routing for Gemini 4 and later models. When set, only the listed types are enabled; for example, setting only places disables routing. This field is not supported in Gemini API.
Tool to retrieve knowledge from Google Maps.