Preflight Checklist
What's Wrong?
When building a command and directing it to use AskUserQuestion, it fails to do so. It can only seem to if you first toggle thought plan mode first.
Image showing it just saying User answered Claude's questions: without doing so.
What Should Happen?
I'd like to be able to use the AskUserQuestion tool at any point.
Error Messages/Logs
Steps to Reproduce
create a command with such as:
---
description: test using user question tool
---
## Your task
1. generate 3 dad jokes
2. **Use AskUserQuestion tool** to ask the user to pick the best one
restart claude code, directly call that command.
it'll say User answered Claude's questions: without doing so.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
No response
Claude Code Version
2.0.22
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
Workaround
Some times it seems if you restart CC then then toggle through plan mode first, send a message. It seems to fix the issue and successfully call AskUserQuestion in any mode. But that was inconstant in my tests.
Preflight Checklist
What's Wrong?
When building a command and directing it to use
AskUserQuestion, it fails to do so. It can only seem to if you first toggle thought plan mode first.Image showing it just saying
User answered Claude's questions:without doing so.What Should Happen?
I'd like to be able to use the
AskUserQuestiontool at any point.Error Messages/Logs
Steps to Reproduce
create a command with such as:
restart claude code, directly call that command.
it'll say
User answered Claude's questions:without doing so.Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
No response
Claude Code Version
2.0.22
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
Workaround
Some times it seems if you restart CC then then toggle through plan mode first, send a message. It seems to fix the issue and successfully call
AskUserQuestionin any mode. But that was inconstant in my tests.