Refactor: Update new_task tool description and mode examples (#3586)

The description for the `new_task` tool has been simplified for clarity.
Additionally, the example modes listed for the `mode` parameter have been updated to include "debug" instead of "ask".
This commit is contained in:
Hannes Rudolph 2025-05-13 18:26:02 -06:00 committed by GitHub
parent 4aa448b7e8
commit 855a5e213d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 26 deletions

View file

@ -341,10 +341,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -814,10 +814,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -1287,10 +1287,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -1813,10 +1813,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -2338,10 +2338,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -2883,10 +2883,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -3449,10 +3449,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -3922,10 +3922,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -4486,10 +4486,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -4965,10 +4965,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -5326,10 +5326,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:
@ -5881,10 +5881,10 @@ Example: Requesting to switch to code mode
</switch_mode>
## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage:

View file

@ -2,10 +2,10 @@ import { ToolArgs } from "./types"
export function getNewTaskDescription(_args: ToolArgs): string {
return `## new_task
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
Description: This will let you create a new task instance in the chosen mode using your provided message.
Parameters:
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
- message: (required) The initial user message or instructions for this new task.
Usage: