harness::ask
Ask the user for a decision between discrete options: 1-4 questions, 2-4 options each; the UI adds a free-text "Other" choice, so do not include one. The questions are shown as a clickable card in the chat, your turn ends, and the answer arrives as the user's next message, so do not repeat the questions in text. Not available to sub-agents or structured-output turns.
- questionsobject[]required1…4 items
1-4 questions shown together on one card; the answer arrives as the user's next message, one line per question.
- headerstringrequired1…16 chars
Short chip label such as `Approach`, 1-16 characters; prefixes the answer line (`Approach: <label>`).
- multi_selectboolean
Let the user pick several options (checkboxes) instead of one.
- optionsobject[]required2…4 items
2-4 discrete choices; do not add an "Other" option, the UI adds a free-text one.
- descriptionstring
Optional one-line explanation shown under the label.
- labelstringrequired1…80 chars
The choice as the user sees and sends it, 1-80 characters, unique within its question.
- questionstringrequiredmin 1 chars
The full question text shown above the options.
- question_idstringrequired
The function-call id of this ask.
- questionsobject[]required
The questions as shown, in request order.
- headerstringrequired1…16 chars
Short chip label such as `Approach`, 1-16 characters; prefixes the answer line (`Approach: <label>`).
- multi_selectboolean
Let the user pick several options (checkboxes) instead of one.
- optionsobject[]required2…4 items
2-4 discrete choices; do not add an "Other" option, the UI adds a free-text one.
- descriptionstring
Optional one-line explanation shown under the label.
- labelstringrequired1…80 chars
The choice as the user sees and sends it, 1-80 characters, unique within its question.
- questionstringrequiredmin 1 chars
The full question text shown above the options.
- session_idstringrequired
- statusone ofrequiredone of (1)Variant 1valuestringenum awaiting_answer
- turn_idstringrequired
The turn that asked; once the session's current turn differs, the question has been answered.