Skip to main content

User input requests

Configure the onUserInputRequest handler and the agent can ask the user questions through the ask_user tool.

UserInputRequest class

The user input request from the agent.

UserInputResponse class

The response to a user input request.

Practical example

Using it in an interactive command:
For the latest updates, see the GitHub repository.
Last modified on August 2, 2026