Update ask-followup-question.ts

Simplify ask_followup_question tool documentation

- Condensed description and parameters to remove redundant explanations
- Reduced from 2 verbose examples to 1 concise example
- Streamlined usage format to show inline suggest tags
- Maintained all critical requirements (complete answers, no placeholders, mode switching)
- Reduced overall documentation size by ~60% while preserving clarity
This commit is contained in:
Hannes Rudolph 2025-08-09 12:18:54 -06:00 committed by Merge Resolver
parent 5dde9513e3
commit 55da7b44ff

View file

@ -4,19 +4,14 @@ Description: Ask the user a question to gather additional information needed to
Parameters:
- question: (required) A clear, specific question addressing the information needed
- follow_up: (required) A list of 2-4 suggested answers, each in its own <suggest> tag with nested <content> element. Suggestions must be complete, actionable answers without placeholders. Optionally include <mode> element to switch modes (code/architect/etc.)
- follow_up: (required) A list of 2-4 suggested answers, each in its own <suggest> tag. Suggestions must be complete, actionable answers without placeholders. Optionally include <mode> to switch modes (code/architect/etc.)
Usage:
<ask_followup_question>
<question>Your question here</question>
<follow_up>
<suggest>
<content>Your suggested answer here</content>
</suggest>
<suggest>
<mode>code</mode>
<content>Implement the solution</content>
</suggest>
<suggest><content>First suggestion</content></suggest>
<suggest><mode>code</mode><content>Action with mode switch</content></suggest>
</follow_up>
</ask_followup_question>
@ -24,33 +19,9 @@ Example:
<ask_followup_question>
<question>What is the path to the frontend-config.json file?</question>
<follow_up>
<suggest>
<content>./src/frontend-config.json</content>
</suggest>
<suggest>
<content>./config/frontend-config.json</content>
</suggest>
<suggest>
<content>./frontend-config.json</content>
</suggest>
</follow_up>
</ask_followup_question>
Example: Asking a question with mode switching options
<ask_followup_question>
<question>How would you like to proceed with this task?</question>
<follow_up>
<suggest>
<mode>code</mode>
<content>Start implementing the solution</content>
</suggest>
<suggest>
<mode>architect</mode>
<content>Plan the architecture first</content>
</suggest>
<suggest>
<content>Continue with more details</content>
</suggest>
<suggest><content>./src/frontend-config.json</content></suggest>
<suggest><content>./config/frontend-config.json</content></suggest>
<suggest><content>./frontend-config.json</content></suggest>
</follow_up>
</ask_followup_question>`
}