Tool call arguments for glob_file_search were invalid: missing required argument glob_pattern

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Request ID: 3cd6315f-9202-4c8f-a3f3-1ca730c91a44
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Tool call error”,“detail”:“Tool call arguments for glob_file_search were invalid: missing required argument glob_pattern”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at iol.$endAiConnectTransportReportError (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4814:319459)
at Zhr._doInvokeHandler (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:212075)
at Zhr._invokeHandler (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:211817)
at Zhr._receiveRequest (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:210582)
at Zhr._receiveOneMessage (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:209404)
at O_t.value (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:207498)
at ye._deliver (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at ye.fire (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Prt.fire (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4801:12154)
at MessagePort. (vscode-file://vscode-app/c:/Users/User/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6983:18168)

Steps to Reproduce

Just happened when I sent a prompt to an agent after upgrading to the pro trial.

Expected Behavior

Checking the open repo
Do some minor adjustments to the code

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.11 (user setup)
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: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

Request ID: 3cd6315f-9202-4c8f-a3f3-1ca730c91a44

Additional Information

Trying again doesn’t resolve the problem.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report! Could you try creating a new chat? Also, could you let me know which model you’re using?

Hi, a new chat does work. It’s set to auto, before it was claude-sonnet.

If you switch models within a single session, it might lead to unexpected errors. So, I recommend sticking to one chat, one model → one task, to ensure everything runs smoothly.

Going back to the original model, didn’t resolve the error, sadly

Unfortunately, this happens. You can create a new chat with the previous context by using the past chats feature.

Alright, thanks for the workaround solution!

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