Home Explore Blog CI



zed

1st chunk of `crates/assistant_tools/src/copy_path_tool/description.md`
a4f654edaabbd88914177810a454f0202ffa82d84634686400000001000001d5
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.

Title: File and Directory Copying Tool
Summary
This tool efficiently copies a file or directory within a project, including recursive copying of directories. It is preferred over manually reading and writing contents when a direct copy is the desired outcome.