Tool call arguments for read_file were invalid: Model provided invalid arguments for tool call

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Tool call arguments for read_file were invalid: Model provided invalid arguments for tool call.

Steps to Reproduce

Load a background agent into chat history, checkout the branch. Send a new message to the agent (auto model): Tool call arguments for read_file were invalid: Model provided invalid arguments for tool call.
(Request ID: b8aea25b-9728-42d3-bc46-d9e8a720a5dd)

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.11 (Universal)
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

1 Like

Hey, which model are you using? Does this also happen in new chats? Could you share the request ID? First, you’ll need to disable privacy mode.

It only happens when I load chat from a background agent and then try to send a message in the same chat window.

Here’s a request with privacy disabled. Auto model.

Request ID: 1bbd1fb3-1d7e-4c18-b1da-6ea6fb882a25

+1. The model does not make a difference, mcp tools do not make a difference.. it happens just when I open a background agent created from slack that I opened up in cursor locally. Then I try to send a message and get the same error

I get exactly the same - when chatting/replying to what was originally a background agent, now in agent now.

Thanks everyone for the info, I’ve forwarded it to the team for investigation.

I have the same issue Request ID: 33161673-43ab-4a74-9a96-c8b19e379779
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Tool call error”,“detail”:“Tool call arguments for read_file were invalid: Model provided invalid arguments for tool call.”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at xyl.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4910:338991)
at Qvr._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:487:36019)
at Qvr._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:487:35761)
at Qvr._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:487:34526)
at Qvr._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:487:33348)
at BCt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:487:31442)
at ye._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at ye.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Wot.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4895:12154)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7028:18292)

Did anyone find a solution?

Tool call arguments for read_file were invalid: Unexpected parameters provided:

I have tried restarting, both computer and IDE - same error.
I tried changing the agent - same error.
I tried giving it a new prompt - same error.
I tried network diagnosis - all good. same error on prompt

This has completely stopped me from getting work done and I’m really hoping someone has a solution. It’s been 90 minutes of the same message over and over.

same here, just updated cursor and now I get this:
Tool call arguments for read_file were invalid: Unexpected parameters provided: should_read_entire_file, start_line_one_indexed, end_line_one_indexed. Expected parameters: { target_file: string (required), offset?: number, limit?: number }

(Request ID: a51964ac-0898-411f-9036-8d7217c2c283)

can’t use cursor anymore

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.