Hey everyone! 👋
I've been working on integrating the Tavily API with an Agent-based approach, and I wanted to share my progress so far.
Although it's close to what Nate has done, I tried to leverage the API capabilities with the agent, so it can tweak the parameters itself and recall the tool if needed.
While I’ve made some solid progress, I’m hitting a few snags:
1️⃣ Input Schema Issues – Sometimes the agent node throws an error saying the expected tool input schema is incorrect. Not entirely sure what's causing it.
2️⃣ include_url Parameter Reliability – Its behavior is inconsistent. Sometimes it works perfectly, but other times, the agent ignores it and just appends the URL to the query instead.
3️⃣ Possible Fixes? – I suspect some of these issues could be solved by tweaking the tool prompt and parameter descriptions.
Also, regarding the prompt and how the Agent should use it, I idealized being able to do all of it inside the tool. So I could just copy and paste the tool node into another agent without the need to update that agent system prompt so heavily.
Here's the workflow, if there is anyone interested in helping to develop it