{"version":"2.1.328","anchor":"askuserquestion-typed-answers-allow-bash-or-slash-text-in-so","canonical_anchor":"askuserquestion-typed-answers-allow-bash-or-slash-text-in-so","heading":"Typed answers to Claude's questions can match options that start with \/ or !","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/askuserquestion-typed-answers-allow-bash-or-slash-text-in-so","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Typed answers to Claude's questions can match options that start with \/ or !\n\nA typed answer to a question from Claude that matches one of its option labels is no longer rejected for starting with \/ or !\n\n**Unclear.** What decides whether the option-matching check is switched on is not known.\n\n**What**\n\n`AskUserQuestion` is the tool Claude uses to ask you a question with a set of options to choose from. You can also type your own answer instead of picking one.\n\nUntil now, Claude Code always rejected a typed answer that started with `!` (which normally runs a shell command) or `\/` (which normally runs a slash command). Claude Code now first checks whether the typed answer matches one of the option labels. When this check is switched on, the rejection only applies if the answer matches none of the options.\n\n**Why**\n\nIf Claude offers an option whose label starts with `\/`, such as a command name, you can now type that label as your answer instead of having it refused.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}