It seems when using the tool agent, Gemini doesn’t like tools which don’t take an dynamic input. I see your tool intends to do a google search for a topic but I don’t see the dynamic field for “topic” which the agent I’m assuming will pass in?
Using another LLM model (GPT4o) works without modification so could possibily be a bug that is worth reporting.
As a workaround, add in another query/body param (say “p” for example) but select “let the model decide” or use a placeholder. Run again and it shouldn’t hang with this error.
(For those reading, I simply added a body parameter called “input” and set it as optional in the HTTP tool. Thankfully the Google custom search ignores that input).