Ask a question to get started
Enter to send•Shift+Enter new line
AskUserRequest()
TypedDict
Discriminator tag, always 'ask_user'.
'ask_user'
Questions to present to the user.
ValidatedQuestion rather than Question, and carrying _validate_questions, so every rule the tool applies also applies where tui.textual_adapter re-validates this payload. A choice question with no choices would otherwise reach the client and degrade to a text box, and an empty list would render a prompt with no questions in it.
ValidatedQuestion
Question
_validate_questions
tui.textual_adapter
choices
ID of the originating tool call, used to route the response back.
Request payload sent via interrupt when asking the user questions.