Skip to content

AskUserQuestion tool completes without user input, returning empty answer #29733

@lsw2408

Description

@lsw2408

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions