AskUserRequest#
Build extensions, choose hooks, and manage request-scoped state. See the guide.
- class zett_agent.extensions.ask_user.AskUserRequest(*, question, options=None, allow_multiple=False)[source]#
Validated question rendered by a UI for one ask_user tool call.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
question (Question)
options (Options | None)
allow_multiple (bool)
Fields#
question(required)See the typed model signature for this field.
options(optional)See the typed model signature for this field.
allow_multiple(optional)See the typed model signature for this field.