[Feature Request] Agent should prioritize Read tool before Write/Update operations instead of using cat

Resolved 💬 3 comments Opened May 29, 2026 by rahulretnan Closed Jul 2, 2026

Bug Description
Since the Update and Write tool cannot actually do anything without using the Read tool. If the file is not being read using the Read tool, there is a lot of the time when the agent actually uses cat to see what's in the file and try to Update. I think you guys need to make sure the agent actually uses the Read tool to read the file and then automatically write it.

Now what is happening is it's using cat to read and try to Write or Update; then what happens is it throws an error, like "okay you have to read before, Write" and then it calls the Read tool. That's something that I've been seeing for a long time.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.150
  • Feedback ID: 23c51dfc-c66a-4d7a-99ee-53550dc5a6a4

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗