Tool call arguments for read_file were invalid:

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

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: a08a9b5d-1e86-47b0-a5fc-db208d4c0aa3)

Steps to Reproduce

All questions

Expected Behavior

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: a08a9b5d-1e86-47b0-a5fc-db208d4c0aa3)

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

ç‰ˆæœŹ: 1.7.28 (system setup)
提äș€: 1.99.3
旄期: adb0f9e3e4f184bba7f3fa6dbfd72ad0ebb8cfd0
Electron: 2025-10-01T02:45:21.769Z
ElectronBuildId: 34.5.8
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.1
OS: 13.2.152.41-electron.0

For AI issues: which model did you use?

agent auto

For AI issues: add Request ID with privacy disabled

(Request ID: a08a9b5d-1e86-47b0-a5fc-db208d4c0aa3

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Open new chat window it could be fixed

2 Likes

The same issue here (Ubuntu 24.04)
From `Copy Request Info:

Request ID: d174ce1e-8e03-4139-a630-b7037244b332
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Tool call error”,“detail”:“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 }”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at N6l.$endAiConnectTransportReportError (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6602:371721)
at eAr._doInvokeHandler (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:35946)
at eAr._invokeHandler (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:35688)
at eAr._receiveRequest (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:34453)
at eAr._receiveOneMessage (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:33275)
at Yxt.value (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:31369)
at Se._deliver (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)

at Se.fire (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at jut.fire (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6587:12154)
at MessagePort. (vscode-file://vscode-app/tmp/.mount_CursorYaWQUa/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8710:18292)

Opening new chat window lost the context of previous communication, so it’s not an option.

Seeing same issue after upgrade, context of the google drive connection had previously failed in this chat, and thus is now throwing error permanently in chat. Like buzzdroid says, ■■■■■ to lose context

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Yesterday, I noticed a new thing: every so often when I attempted to send a prompt, it should show as sent to AI (moving to the top) but then a few seconds later, it would be back at the bottom in the prompt entry area as if I didn’t click the send button. I clicked the send button a second time and it would send most of the time. Sometimes it would take a 3rd attempt but it always worked at some point.

Today, nothing is working! As a hack developer, I really need AI because I cannot do the updates without it
 I just don’t have the skills. Today - I’m completely stuck and not getting ANY work done right now.

Each prompt only returns this:
Request ID: 539aa34d-eb0f-4887-8b89-b851519cf834
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Tool call error”,“detail”:“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 }”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at f8l.$endAiConnectTransportReportError (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:7278:371721)
at mAr._doInvokeHandler (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:35946)
at mAr._invokeHandler (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:35688)
at mAr._receiveRequest (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:34453)
at mAr._receiveOneMessage (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:33275)
at Yxt.value (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:31369)
at _e._deliver (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e.fire (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at jut.fire (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:7263:12154)
at MessagePort. (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9387:18292)

Steps to Reproduce

Send a prompt to AI.

Expected Behavior

AI does it’s thing.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.28 (user setup)
VSCode Version: 1.99.3
Commit: adb0f9e3e4f184bba7f3fa6dbfd72ad0ebb8cfd0
Date: 2025-10-01T02:45:21.769Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

Auto and also tried different ones - didn’t matter.

For AI issues: add Request ID with privacy disabled

Request ID: 37c27fe8-7ea4-49b6-b4cb-d3ef4998aa0b
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Tool call error”,“detail”:“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 }”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at f8l.$endAiConnectTransportReportError (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:7278:371721)
at mAr._doInvokeHandler (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:35946)
at mAr._invokeHandler (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:35688)
at mAr._receiveRequest (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:34453)
at mAr._receiveOneMessage (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:33275)
at Yxt.value (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:489:31369)
at _e._deliver (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e.fire (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at jut.fire (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:7263:12154)
at MessagePort. (vscode-file://vscode-app/c:/Users/danie/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9387:18292)

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. We’ll check this.

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