mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Update insert_content tool description for clarity and detail (#2892)
This commit is contained in:
parent
41db2cad43
commit
c228e638b9
2 changed files with 12 additions and 12 deletions
|
|
@ -180,7 +180,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -647,7 +647,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -1114,7 +1114,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -1581,7 +1581,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -2104,7 +2104,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -2639,7 +2639,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -3252,7 +3252,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -3719,7 +3719,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -4228,7 +4228,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -4772,7 +4772,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
@ -5605,7 +5605,7 @@ Example: Requesting to write to frontend-config.json
|
|||
</write_to_file>
|
||||
|
||||
## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory /test/path
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { ToolArgs } from "./types"
|
|||
|
||||
export function getInsertContentDescription(args: ToolArgs): string {
|
||||
return `## insert_content
|
||||
Description: Insert new content at a specific line position in a file.
|
||||
Description: Use this tool specifically for adding new lines of content into a file without modifying existing content. Specify the line number to insert before, or use line 0 to append to the end. Ideal for adding imports, functions, configuration blocks, log entries, or any multi-line text block.
|
||||
|
||||
Parameters:
|
||||
- path: (required) File path relative to workspace directory ${args.cwd.toPosix()}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue