adk-python
adk-python copied to clipboard
Stuck on a basic problem
I’m currently stuck on a problem. Let’s say I have two agents:
Agent One generates some text using tools.
Since I can't use structuredOutput with tools, I created another agent specifically for structuredOutput.
However, this second agent can’t be a sub-agent of the first one. Secondly, I can’t use it as a tool either. Moreover, I can't run them through a sequentialAgent.
What would be a good workaround for this problem?
why can't you run them as a sequential agent? also you can use a after_agent_tool callbacks