I am getting Tool call error in Cursor IDE

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Request ID: d65d6859-4858-45b7-9794-4cf1071670eb
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Tool call error”,“detail”:“Failed to read file.”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at szc.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12375:456006)
at xBo._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22831)
at xBo._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22573)
at xBo._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:21335)
at xBo._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:20152)
at zLt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:18244)
at Ee._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at Ee.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Tvt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12360:12156)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15027:18433)

Steps to Reproduce

I have asked question

Expected Behavior

It should answer instead of error

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (Universal)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z (6 days ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

For AI issues: add Request ID with privacy disabled

d65d6859-4858-45b7-9794-4cf1071670eb

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This is a known issue, and the team is already working on a fix.

To help with diagnosis, please try the following:

  • Settings → Network → Run Diagnostics, then send a screenshot of the results
  • In Settings Cmd+,, search for “HTTP/2”, enable “Disable HTTP/2”, restart Cursor, and check again
  • In Agent, try switching the model and see if the error still happens
  • Open an empty project folder and try the same request there
  • Open Help → Toggle Developer Tools and send any console errors
  • Retry the request 2 to 3 times and share the new Request IDs (chat menu → Copy Request ID)

Let me know if any of these steps helped.

It’s funny you’re getting this tool call error. Usually, this happens when we’re using a model that doesn’t have tools in the JSON style or XML, which by default parses this kind of tool. In this case, the output is really very different. When this happens to me—especially because I use my own Xrava π—I put specific instructions inside the AI’s rules for that type of model so it listens to me and uses the tool correctly. This happens mainly with Deepseek 3.2, for example.