Add copy-path tool (#27371)
<img width="631" alt="Screenshot 2025-03-24 at 11 01 10 AM" src="https://github.com/user-attachments/assets/7e144619-83d0-4455-8d80-cc7ec6a7b03e" /> Release Notes: - N/A
This commit is contained in:
parent
3205ae3884
commit
e9e6529df4
3 changed files with 123 additions and 0 deletions
6
crates/assistant_tools/src/copy_path_tool/description.md
Normal file
6
crates/assistant_tools/src/copy_path_tool/description.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
Copies a file or directory in the project, and returns confirmation that the copy succeeded.
|
||||
Directory contents will be copied recursively (like `cp -r`).
|
||||
|
||||
This tool should be used when it's desirable to create a copy of a file or directory without modifying the original.
|
||||
It's much more efficient than doing this by separately reading and then writing the file or directory's contents,
|
||||
so this tool should be preferred over that approach whenever copying is the goal.
|
Loading…
Add table
Add a link
Reference in a new issue