adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

Support stopping response after tool call (similar feature supported in Agno)

Open jamie0725 opened this issue 2 months ago • 0 comments

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:

  1. Can ADK add stop_after_tool_call support for tools?
  2. Any current workarounds?
Image

jamie0725 avatar Nov 28 '25 02:11 jamie0725