mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
update prompt for search and replace tool
This commit is contained in:
@@ -7,7 +7,7 @@ Parameters:
|
|||||||
- path: (required) The path of the file to modify (relative to the current working directory ${args.cwd.toPosix()})
|
- path: (required) The path of the file to modify (relative to the current working directory ${args.cwd.toPosix()})
|
||||||
- operations: (required) A JSON array of search/replace operations. Each operation is an object with:
|
- operations: (required) A JSON array of search/replace operations. Each operation is an object with:
|
||||||
* search: (required) The text or pattern to search for
|
* search: (required) The text or pattern to search for
|
||||||
* replace: (required) The text to replace matches with
|
* replace: (required) The text to replace matches with. If multiple lines need to be replaced, use "\n" for newlines
|
||||||
* start_line: (optional) Starting line number for restricted replacement
|
* start_line: (optional) Starting line number for restricted replacement
|
||||||
* end_line: (optional) Ending line number for restricted replacement
|
* end_line: (optional) Ending line number for restricted replacement
|
||||||
* use_regex: (optional) Whether to treat search as a regex pattern
|
* use_regex: (optional) Whether to treat search as a regex pattern
|
||||||
|
|||||||
Reference in New Issue
Block a user