Error calling tool 'edit_file' when asking for a new file

Describe the Bug

Recently, I have encountered the problem several times that I asked in the chat to create a new file, e.g., a new command, which should be based on an existing file. The model (in Auto Mode) then starts working, but seems to get stuck in a loop and constantly displays the error message Error calling tool 'edit_file' and then starts over again… and so on. I then have to stop the process and start it again from the beginning.

Steps to Reproduce

Seems to occur most times if I ask to build a new file “like” an other file before, e.g.: “Build a EnterAwardCategory command in the way of the @EnterAward command”

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.3.8
Commit: 1.99.3
Datum: a1fa6fc7d2c2f520293aad84aaa38d091dee6fe0
Electron: 2025-07-31T21:33:51.093Z
ElectronBuildId: 34.5.1
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.0
Betriebssystem: 13.2.152.41-electron.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

hi @aheck1969 and thank you for the bug report.

Which model are you using?

Could you post a Request ID with privacy disabled so we can look into the details? Cursor – Getting a Request ID