claude-code-system-prompts/system-prompts/tool-description-write-read-existing-file-first.md
2026-04-24 18:43:27 -06:00

476 B

Writes a file to the local filesystem. Overwrites if the file exists.

  • If the file already exists, you must ${READ_TOOL_NAME} it first in this conversation or the call will fail.
  • Prefer Edit for modifying existing files — it only sends the diff.