Google ADK Agent Setup and Tool Definition

planningChallenge

Prompt Content

Initialize a Google ADK agent using Gemini 3 Flash. Define a custom tool called 'fetch_energy_data' that simulates fetching energy consumption data. Provide the Python code for the agent initialization and tool definition, ensuring it can be registered with the ADK.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations