Prompt capture
AskUserQuestion tool description
27 model strings share this prompt, byte for byte.
1Use this tool when you need to ask the user questions during execution. This allows you to:
21. Gather user preferences or requirements
32. Clarify ambiguous instructions
43. Get decisions on implementation choices as you work
54. Offer choices to the user about what direction to take.
7Usage notes:
8- Users will always be able to select "Other" to provide custom text input
9- Use multiSelect: true to allow multiple answers to be selected for a question
10- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label
12Plan mode note: In plan mode, use this tool to clarify requirements or choose between approaches BEFORE finalizing your plan. Do NOT use this tool to ask "Is my plan ready?" or "Should I proceed?" - use ExitPlanMode for plan approval. IMPORTANT: Do not reference "the plan" in your questions (e.g., "Do you have feedback about the plan?", "Does the plan look good?") because the user cannot see the plan in the UI until you call ExitPlanMode. If you need plan approval, use ExitPlanMode instead.
14Preview feature:
15Use the optional `preview` field on options when presenting concrete artifacts that users need to visually compare:
16- ASCII mockups of UI layouts or components
17- Code snippets showing different implementations
18- Diagram variations
19- Configuration examples
21Preview content is rendered as markdown in a monospace box. Multi-line text with newlines is supported. When any option has a preview, the UI switches to a side-by-side layout with a vertical option list on the left and preview on the right. Do not use previews for simple preference questions where labels and descriptions suffice. Note: previews are only supported for single-select questions (not multiSelect).