Class AskQuestionsRequest
A structured request for the TUI to present a sequence of questions to the user and collect their answers before resuming agent execution.
public sealed class AskQuestionsRequest
- Inheritance
-
AskQuestionsRequest
- Inherited Members
Properties
AllowCancel
When true an Esc/Cancel gesture is offered; false forces the user to answer.
public bool AllowCancel { get; init; }
Property Value
Context
Optional rationale shown below the title to help the user understand why these questions are being asked (e.g., "to choose the correct scaffold and avoid rework").
public string? Context { get; init; }
Property Value
Id
Unique identifier for correlating the request with its result.
public string Id { get; init; }
Property Value
Questions
Ordered list of questions to present to the user.
public IReadOnlyList<Question> Questions { get; init; }
Property Value
SubmitLabel
Label for the final submission button (defaults to "Continue").
public string SubmitLabel { get; init; }
Property Value
Title
Short title displayed at the top of the questionnaire panel (e.g., "Need a bit more info").
public string Title { get; init; }