Ask the user a structured interview
ask_user_richCollect answers to many structured questions at once in a rich browser form, with recommendations, ranking, previews, and deferrals, returning each answer's status.
Instructions
Ask the user any number of questions at once in a rich browser form and wait for their answers. Use it instead of AskUserQuestion for grilling rounds, design reviews and any decision set with more than 4 questions or 4 options, long headers, markdown context, code/layout previews, or recommendations you want to argue for.
Each question has an id, a header, a markdown body, options (id, label, markdown description, optional markdown/code preview), an optional recommended option id plus rationale, multiSelect, allowOther (free text, default true) and dependsOn (earlier question ids, display only). Set kind: "rank" to have the user order every option by priority instead of picking (returns ranked; recommended is then the full recommended order). The user can also defer a question, mark it as needing more info, and leave notes.
Blocks until the user submits (it may take minutes; in Claude Code a long call continues as a background task). Returns summary (one line per question) plus, for each question, its status (answered | deferred | needs-info | unanswered), selected option ids and labels, ranked ids and labels (rank questions), other text, notes, and whether the recommendation was followed. Act on deferred and needs-info items instead of assuming answers. If the browser cannot be opened, returns the URL and a sessionId: show the URL, then call await_user_answers.
Ids (question and option) are ASCII only, [A-Za-z0-9_.:-]: secao-tabs, never seção-tabs. recommended takes option ids, not labels. dependsOn may only name earlier questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intro | No | Markdown introduction: the context the user needs before answering. | |
| title | Yes | Interview title, shown as the page heading. | |
| delivery | No | browser (default): open the form in the user's browser and wait for the submit. link: do not open anything; return the URL immediately so you can show it, then call await_user_answers. elicitation: small flat interviews only, asked through the client's native form dialog; no notes, defer or previews. Falls back to browser when the client cannot elicit. | browser |
| questions | Yes | All questions, shown one per screen in this order (a stepper ending in a review screen). No upper bound. |