Agent tool calls fail with Invalid arguments

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Agent tool calls fail with Invalid arguments: Required for every tool (Shell, Read, Glob, MCP) — arguments are stripped before reaching the tool layer. Persists across new chats, app restart, and app update. Started ~3:30 PM PT Oct 5. Windows 10.0.26200, PowerShell.

Any file named permissions.json in the workspace-level .cursor folder (even a valid {}) causes every agent tool call to fail with Invalid arguments: <field> Required. Removing the file fixes it immediately. Windows 10.0.26200. Started ~Oct 5 15:30 PT, persists across chats/restart/update.

Steps to Reproduce

Every request I make to the agent

Expected Behavior

Tools working correctly

Operating System

Windows 10/11

Version Information

Version: 3.22.12 (user setup)
VS Code Extension API: 1.128.0
Commit: 3a92974361033b2051526321308c2740fe5912c0
Date: 2026-09-26T04:55:12.125Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

GLM 5.3 Flash Low

For AI issues: add Request ID with privacy disabled

Request ID not retrievable from chat UI; error is Invalid arguments: Required on every agent tool call

Additional Information

Occurred spontaneously in the middle of a session

Does this stop you from using Cursor

Yes - Cursor is unusable

Same problem. It was working before 5 PM ET.

Same:
https://forum.cursor.com/t/non-working-native-agent-tools-all-parameters-dropped/173856/4

Completely uninstalling Cursor, including its user data, worked. It’s working again now.

No, I need to take that back. It only worked because, during the reinstall, I was using Default with the 200,000-token window mode, without Max Mode. As soon as I switch back to Max Mode, the problem occurs, regardless of which model I use.

Hey everyone, thanks for the reports and the detailed testing!

What you’re seeing comes from GLM 5.3 Flash (and GLM 5.3): some of their tool calls are reaching the agent with the arguments missing, which is why Read, Grep and Shell fail with <field>: Required. It isn’t caused by anything on your machine, so reinstalling, downgrading or reloading won’t change it. This is an issue we’re tracking.

Workaround: switch to a non-GLM model in the model picker (for example Composer 2.5 or Claude Sonnet 5.5), ideally in a new chat.

A couple of notes on what you found:

  • @ddd1345: Read, Grep and Shell still run locally, but which file to read or what to search comes from the model’s response, so when that arrives empty the tool has nothing to run. From what we can see, other models with Max Mode on are working normally, so Max Mode itself shouldn’t be the trigger. If you hit the same error on a non-GLM model, please share a Request ID from that chat.
  • @wylibroda: permissions.json only controls auto-run behavior and isn’t involved in passing tool arguments. This issue comes and goes between requests, so an unrelated change can look like a fix.

I’ll post here when there’s an update.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Summary

In an active agent session, every parameterized call to the IDE’s built-in
(“native”) agent tools arrives at the execution layer with an empty parameter
block
. The tools themselves are registered and respond — but they report that
their required arguments are missing. Zero-parameter calls execute normally.
The failure is persistent across multiple turns (~30 minutes) and reproducible
across tool families.

Model GLM 5.3 Flash

Affected tools (verified by test)

Tool Required parameter sent Result
Read (built-in file read) path :cross_mark: Invalid arguments: path: Required
Grep (built-in content search) pattern :cross_mark: Invalid arguments: pattern: Required
Shell (terminal execution) command :cross_mark: Invalid arguments: command: Required
GetDynamicTools (MCP tool catalog) namespace / pattern :cross_mark: parameter silently dropped — returned the full unfiltered catalog instead of the requested subset

Presumed affected (untested, by extension)

  • Glob, StrReplace / Write (edit path), and all MCP endpoints
    (e.g., Filesystem Extended) — all require parameters. Given the failure is in
    parameter transport, they are assumed equally affected. No write/edit was
    attempted on that basis, to avoid unintended behavior from dropped arguments.

Not affected

  • Calls with zero parameters (e.g., full tool-catalog query) complete fine.
  • Chat responses and plain model output are unaffected.
  • Error reporting works — the harness correctly surfaces the missing-parameter
    errors, so the issue is upstream of validation, in parameter transport.

Observed behavior details

  1. Error shape is always Invalid arguments: <param>: Required — the executor
    sees zero arguments regardless of what was sent.
  2. Persistent across at least 3 user turns (~09:10–09:41 UTC+2); not mitigated
    by rephrasing or resending the same calls.
  3. Parameterized MCP-catalog lookups degrade to “no filter” instead of failing,
    which silently hides the defect for tools that accept zero-argument calls.

Workaround

None found inside the session. Session restart / IDE window reload restored
nothing so far (still failing at time of writing); the conversation and file
context survive, only tool parameter transport is broken.

Steps to Reproduce

see desc

Operating System

Windows 10/11

Version Information

Version: 3.22.12 (user setup)
VS Code Extension API: 1.128.0
Commit: 3a92974361033b2051526321308c2740fe5912c0
Date: 2026-09-26T04:55:12.125Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Yes - Cursor is unusable

image

Related:

Completely uninstalling Cursor, including its user data, worked. It’s working again now.

It only worked when I used a 200,000-token context window. The request went through then. When I switched back to Maxmode, it stopped working again.

@deanrie @Colin

Cursor is completely unusable, even after a full reinstall and deletion of the user data. Regardless of which model I use, once Max-Mode is enabled, none of the tool calls work. Cursor’s native tools, such as Read and grep, also no longer work at all.

I strongly suspect these aren’t offline, local tools bundled with the installation, and that the setup may instead be hybrid, with some requests going through the cloud and possibly experiencing temporary issues. Or could this be a bug in the current version? I also downgraded to a few patch versions, but the problem persisted there as well.

I suspect this may be a cloud-based issue because I wasn’t experiencing these problems yesterday, using the same version. Does this mean that Cursor’s native tools, such as grep and Read, rely on cloud services and stop working when there are issues with those services? How does this work, and what’s the solution? My entire day is blocked, and I can’t work.

Yes, you’re right. It doesn’t work even when I don’t deactivate Max mode either.

With Grok 4.7 it works

The problem isn’t limited to GLM. Everything works as expected with Kimi K3. When I use 5.6 Terra, it still can’t call commands.

@mohitjain

I suppose it is not conclusive, but I moved permisisions.json and the tools immediately started working after not working for may hours and about a dozen attempts. I then created an empty permissions.json file and they immediately stopped working again. I deleted that file and they immediately started working again and have been working since. If the issues “comes and goes” and has nothing to do with the permissions.json file, the timing and seeming correlation is an extremely unlikely coincidence.

@ddd1345 @hci-ceo @wylibroda GLM 5.3 Flash tool calls are working normally again. GLM 5.3 still fails on some tool calls, so use a non-GLM model if you hit it there.

@wylibroda I couldn’t reproduce the permissions.json effect here (a {} file with GLM 5.3 Flash worked fine), so it most likely lined up with GLM recovering. If tools break again with the file present, share a Request ID from that chat.