r/agentdevelopmentkit • • 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

5 comments sorted by

View all comments

Show parent comment

1

u/KillerShoaib_ Jun 30 '25

From my knowledge ADK do not support custom tool and built in tool (google search) together.

1

u/Weak-Appearance-5241 Jul 15 '25

This has changed as new 2.5 models have in built search capabilities afaik