Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ Examples:

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ Examples:

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@ Example: Requesting to access an MCP resource

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@ Example: Requesting to access an MCP resource

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,11 @@ Example: Requesting to execute ls in a specific directory if directed

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ Example: Requesting to execute ls in a specific directory if directed

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,11 @@ Example: Requesting to execute ls in a specific directory if directed

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ Example: Requesting to execute ls in a specific directory if directed

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,11 @@ Example: Requesting to execute ls in a specific directory if directed

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ Example: Requesting to execute ls in a specific directory if directed

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,11 @@ Example: Requesting to execute ls in a specific directory if directed

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@ Example: Requesting to access an MCP resource

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ Example: Requesting to execute ls in a specific directory if directed

## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down
5 changes: 5 additions & 0 deletions src/core/prompts/tools/ask-followup-question.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
export function getAskFollowupQuestionDescription(): string {
return `## ask_followup_question
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
IMPORTANT: Before asking the user for information:
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.

Parameters:
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:
Expand Down