adk-python
adk-python copied to clipboard
Support stopping response after tool call (similar feature supported in Agno)
Hi,
We're using ADK for our product agent and have a tool that displays follow-up questions as UI buttons for users to click.
Problem 1: No way to stop after tool call
The tool should end the response - no text should come after the tool call. Currently there's no feature like Agno's @tool(stop_after_tool_call=True, show_result=False).
Problem 2: Agent repeats previous content
After the tool call, the agent repeats what it said before the tool call (see attached image).
Questions:
- Can ADK add
stop_after_tool_callsupport for tools? - Any current workarounds?