Prompt Buddy logoPrompt Buddy

google · Google AI Docs

Gemini API Grounding with Google Maps

Teaches how to implement Google Maps grounding within the Gemini generateContent API to provide models with real-world location data and spatial context.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Gemini API Grounding with Google Maps

Teaches how to implement Google Maps grounding within the Gemini generateContent API to provide models with real-world location data and spatial context.

When To Use

Use when you need to integrate real-time location information, place details, or geographic context into LLM responses to prevent hallucinations regarding physical locations.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/gemini-api-grounding-with-google-maps-workflow-guide.mdA guide explaining how to connect Gemini API generative capabilities with Google Maps data for location-aware functionality.Questions about a guide explaining how to connect Gemini API generative capabilities with Google Maps data for location-aware functio...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-p.textA Python code example demonstrating how to enable Google Maps grounding in a Gemini API generateContent request using the Google GenAI SDK.Exact payloads, commands, or snippets shown in A Python code example demonstrating how to enable Google Maps grounding in a Gemini API generateContent request using...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-n.textA Node.js code example demonstrating how to enable Google Maps grounding in a Gemini API generateContent request.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to enable Google Maps grounding in a Gemini API generateContent request.
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-c.textA curl command demonstrating how to call the Gemini API with the Google Maps tool enabled to perform grounded queries.Exact payloads, commands, or snippets shown in A curl command demonstrating how to call the Gemini API with the Google Maps tool enabled to perform grounded queries.
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-p-2.textA text example demonstrating a user prompt and tool configuration for using Google Maps grounding within the Gemini API.Exact payloads, commands, or snippets shown in A text example demonstrating a user prompt and tool configuration for using Google Maps grounding within the Gemini API.
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-p-3.textA text example demonstrating a Gemini API request payload that uses the Google Maps tool to ground a query about restaurants near Times Square.Exact payloads, commands, or snippets shown in A text example demonstrating a Gemini API request payload that uses the Google Maps tool to ground a query about rest...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-t.textA text-based example demonstrating a Gemini API request using the Google Maps tool with specific latitude and longitude coordinates for location-based grounding.Exact payloads, commands, or snippets shown in A text-based example demonstrating a Gemini API request using the Google Maps tool with specific latitude and longitu...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-r.textA text representation of a Gemini API response containing grounding metadata and Google Maps place identifiers.Exact payloads, commands, or snippets shown in A text representation of a Gemini API response containing grounding metadata and Google Maps place identifiers.
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-p-4.textA Python code example demonstrating how to enable the Google Maps tool within a Gemini API generateContent request to perform location-based grounding.Exact payloads, commands, or snippets shown in A Python code example demonstrating how to enable the Google Maps tool within a Gemini API generateContent request to...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-n-2.textA Node.js code example demonstrating how to enable the Google Maps tool within a Gemini API generateContent request to perform location-based grounding.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to enable the Google Maps tool within a Gemini API generateContent request t...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-c-2.textA curl command demonstrating how to include the googleMaps tool in a generateContent request to the Gemini API.Exact payloads, commands, or snippets shown in A curl command demonstrating how to include the googleMaps tool in a generateContent request to the Gemini API.
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-p-5.textA Python code example demonstrating how to use the Gemini API with Google Maps grounding to answer location-based queries.Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the Gemini API with Google Maps grounding to answer location-based que...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-n-3.textA Node.js code example demonstrating how to use the Gemini API with Google Maps grounding to answer location-based queries.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the Gemini API with Google Maps grounding to answer location-based qu...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-c-3.textA curl command demonstrating a POST request to the Gemini API using the Google Maps tool for grounding.Exact payloads, commands, or snippets shown in A curl command demonstrating a POST request to the Gemini API using the Google Maps tool for grounding.
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-p-6.textA Python code example demonstrating how to use the Gemini API with Google Maps tools to ground model responses in real-world location data.Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the Gemini API with Google Maps tools to ground model responses in rea...
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-n-4.textA Node.js code example demonstrating how to enable Google Maps grounding in a Gemini API generateContent request.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to enable Google Maps grounding in a Gemini API generateContent request.
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding-c-4.textA curl command demonstrating how to send a generateContent request to the Gemini API with Google Maps grounding enabled.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a generateContent request to the Gemini API with Google Maps grounding enabled.
examples/gemini-api-grounding-with-google-maps-gemini-api-google-maps-grounding.textA text-based example demonstrating how to implement Google Maps grounding within the Gemini API.Exact payloads, commands, or snippets shown in A text-based example demonstrating how to implement Google Maps grounding within the Gemini API.

What This Skill Covers

  • Grounding with Google Maps connects the generative capabilities of Gemini with the rich, factual, and up-to-date data of Google Maps. This feature enables de...
  • Main sections: Get started, Python, JavaScript, REST, How Grounding with Google Maps works.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

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