Skip to main content
Loading navigation
Back to prompt library

Real-time Contextual Tool Integration

Linked challenge: Gemini-powered Voice Navigator Agent

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Design and implement a tool (or set of tools) within your Google ADK agent that interacts with Google Maps Platform APIs (e.g., Places API, Directions API). This tool should allow the agent to find nearby points of interest, get directions, and calculate distances based on the `current_location` provided to Gemini. Demonstrate how the agent would dynamically call these tools based on Gemini's reasoning from a user's query like 'Find the nearest park'.