Skip to main content

User input requests

Set the onUserInputRequest handler so your agent can ask users questions through the ask_user tool.

UserInputRequest

A user input request from the agent.

UserInputResponse

A response to a user input request.

Practical usage

Use this in interactive commands:
For the latest updates, see the GitHub repository.
Last modified on April 19, 2026