fix(core): clarify custom question answers (#38919)

This commit is contained in:
Aiden Cline 2026-07-25 23:00:26 -05:00 committed by GitHub
commit 79c7e9446e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,8 +17,8 @@ export const description = `Use this tool when you need to ask the user question
4. Offer choices to the user about what direction to take. 4. Offer choices to the user about what direction to take.
Usage notes: Usage notes:
- When \`custom\` is enabled (default), a "Type your own answer" option is added automatically; don't include "Other" or catch-all options - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
- Answers are returned as arrays of labels; set \`multiple: true\` to allow selecting more than one - Set \`multiple: true\` to allow selecting more than one option
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label` - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`
export const Input = Schema.Struct({ export const Input = Schema.Struct({