claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[DOCS] Document a way to invoke interactive questions

Open moltar opened this issue 2 months ago • 6 comments

Documentation Type

Missing documentation (feature not documented)

Documentation Location

No response

Section/Topic

Interactive Questions

Current Documentation

N/A

What's Wrong or Missing?

There's no documented way to steer Claude Code to use interactive questions (prompts).

Is there a way?

Suggested Improvement

If so, would be great to have it documented, as I think it's a super useful feature.

Impact

Medium - Makes feature difficult to understand

Additional Context

Image

moltar avatar Nov 06 '25 12:11 moltar


Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/10346
  2. https://github.com/anthropics/claude-code/issues/5755
  3. https://github.com/anthropics/claude-code/issues/10258

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Nov 06 '25 12:11 github-actions[bot]

  • Not sure if #10346 is the same, given the lack of docs.
  • Issue #5755 is mine, it is certainly related, but it's not exactly the same.
  • Issue #10258 is not the same.

Not a duplicate.

moltar avatar Nov 06 '25 17:11 moltar

It's my understanding that this UI interface will be invoked whenever an AskUserQuestion tool call is invoked.

apolopena avatar Nov 06 '25 17:11 apolopena

I've asked CC about it, not sure if it's hallucinating, but this does work:

Use the `AskUserQuestion` tool to ask which framework to use:

{
  "questions": [
    {
      "question": "Which frontend framework should we use for this project?",
      "header": "Framework",
      "multiSelect": false,
      "options": [
        {
          "label": "React",
          "description": "Popular, large ecosystem"
        },
        {
          "label": "Vue",
          "description": "Progressive framework"
        },
        {
          "label": "Svelte",
          "description": "Compile-time optimized"
        }
      ]
    }
  ]
}

moltar avatar Nov 06 '25 23:11 moltar

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 22 '25 10:12 github-actions[bot]

issue is still occurring

moltar avatar Dec 22 '25 10:12 moltar