Skip to content

Conversation

@yasu89
Copy link

@yasu89 yasu89 commented Dec 6, 2025

Closes #5018

Added Google Maps tool support and grounding metadata.

https://ai.google.dev/gemini-api/docs/maps-grounding

  • Added Google Maps/tool widget/latitude-longitude options to GoogleGenAiChatOptions and wire them into request building via ToolConfig/RetrievalConfig, including default/runtime merging.
  • Populate ChatGenerationMetadata with returned groundingMetadata for downstream access.
  • Extended integration tests for Google Maps tool usage (with/without widget, with coordinates) validating grounding info presence.
  • Documented new properties for enabling Google Maps grounding and widget/coordinate options.

Signed-off-by: Wada Yasuhiro <19990967+yasu89@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Gemini Grounding with Google Maps

1 participant