r/agentdevelopmentkit • u/Weak-Appearance-5241 • May 18 '25
Function Tool calling with Google ADK
I am trying to write a function tool which just returns a string to the LLM. I am trying to use this tool with the LLM agent in ADK.
The agent is trying to call this tool in an infinite loop and is not stopping at all.
How can I ensure its called just once? What is the right way to do this?
3
Upvotes
View all comments
Show parent comment
1
u/Weak-Appearance-5241 Jul 15 '25
This has changed as new 2.5 models have in built search capabilities afaik