AskUserQuestion Tool#
What's wrong with this entry?
What: A new tool that enables Claude to ask users multiple-choice questions during task execution to gather preferences, clarify ambiguity, or make implementation decisions.
How to use:
// Claude can now use this tool to ask questions like:
{
"questions": [
{
"question": "Which library should we use for date formatting?",
"header": "Library",
"options": [
{"label": "date-fns", "description": "Modern, modular"},
{"label": "moment", "description": "Widely used, large"}
]
}
]
}
Details:
- Supports 1-4 questions per tool use with 2-4 options each
- Users can always select "Other" to provide custom text input
- Set
multiSelect: trueto allow multiple answers per question - Includes navigation UI with question progress indicators
- Questions have a header (max 12 characters) for display in the progress bar
- Evidence: New tool definition at
T6Q = "AskUserQuestion"at line 404665, tool implementation at line 405857 in functionTn1()