late-queen-51746
06/02/2026, 7:38 AMmodern-fireman-99755
06/02/2026, 7:40 AMlate-queen-51746
06/02/2026, 7:41 AMlate-queen-51746
06/02/2026, 7:42 AMTOOL_DESCRIPTION = """Signals the completion of the current task or conversation.
Use this tool when:
- You have successfully completed the user's requested task
- You cannot proceed further due to technical limitations or missing information
The message should include:
- A clear summary of actions taken and their results
- Any next steps for the user
- Explanation if you're unable to complete the task
- Any follow-up questions if more information is needed
"""
This is the current description of FINISH tool. According to this, agent is supposed to generate a FINISH action when it needs to ask_a_question to the user.modern-fireman-99755
06/02/2026, 7:49 AMAskQuestion tool to provide to your agent. (This would be a quick and easy solution to unblock you right away.)
Otherwise, this is something we have also been discussing here: https://github.com/OpenHands/software-agent-sdk/issues/2697
I'm interested to know what other people think about the finish tool. Should we narrow its responsibility, or is it already equivalent to an AskQuestion tool?
One experiment you could try is creating a custom AskQuestion tool, giving it to the agent, and seeing if it uses it properly to ask questions proactively. This would help us see if it makes sense to have a separate tool, or if the finish tool is already enough.late-queen-51746
06/02/2026, 8:09 AM