ZIm/crates/assistant_tools/src/edit_file_tool/description.md
Antonio Scandurra 89430a019c
Fix agent reading and editing files over SSH (#30144)
Release Notes:

- Fixed a bug that would prevent the agent from working over SSH.

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Cole Miller <m@cole-miller.net>
2025-05-07 17:07:01 +00:00

459 B

This is a tool for creating a new file or editing an existing file. For moving or renaming files, you should generally use the terminal tool with the 'mv' command instead.

Before using this tool:

  1. Use the read_file tool to understand the file's contents and context

  2. Verify the directory path is correct (only applicable when creating new files):

    • Use the list_directory tool to verify the parent directory exists and is the correct location