AskUserQuestion tool completes without user input, returning empty answer

Resolved 💬 9 comments Opened Mar 1, 2026 by lsw2408 Closed Mar 5, 2026

Bug Description

The AskUserQuestion tool returns immediately with "User has answered your questions: ." (empty answer content) without waiting for the user to actually select an option. Claude then proceeds as if the user had answered, making assumptions about what was selected.

Steps to Reproduce

  1. Have "*" in permissions.allow in ~/.claude/settings.json
  2. Claude calls AskUserQuestion with multiple options
  3. Without the user selecting anything, the tool returns: "User has answered your questions: ."
  4. Claude incorrectly assumes the user made a selection and proceeds

Expected Behavior

AskUserQuestion should block and wait for the user to actually select an option before returning a result.

Actual Behavior

The tool returns immediately with an empty answer, and Claude continues as if the user responded.

Environment

  • OS: macOS (Darwin 25.3.0)
  • Claude Code model: claude-opus-4-6
  • Permissions: "*" in allow list (all tools auto-approved)

Possible Cause

The "*" wildcard in permissions.allow may be causing AskUserQuestion's user-facing UI to be auto-completed/skipped, similar to how other tools are auto-approved. However, AskUserQuestion is designed to collect user input, not request permission — so it should always show the UI regardless of permission settings.

View original on GitHub ↗

This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗