# Agent tool calls fail with Invalid arguments

**URL:** <https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834>\
**Category:** Bug Reports\
**Tags:** chat\
**Created:** [October 6, 2026, 1:42am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834 "2026-10-06T01:42:36Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![wylibroda](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/wylibroda/32/120617_2.png) [@wylibroda](https://forum.cursor.com/u/wylibroda)\
**Post date:** [October 6, 2026, 1:42am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/1 "2026-10-06T01:42:36Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![hci-ceo](https://avatars.discourse-cdn.com/v4/letter/h/8c91f0/32.png) [@hci-ceo](https://forum.cursor.com/u/hci-ceo)\
**Post date:** [October 6, 2026, 1:50am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/5 "2026-10-06T01:50:20Z")

</div>

Same problem. It was working before 5 PM ET.

---

<div class="post-metadata">

**Author:** ![ddd1345](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@ddd1345](https://forum.cursor.com/u/ddd1345)\
**Post date:** [October 6, 2026, 7:55am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/6 "2026-10-06T07:55:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ddd1345](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@ddd1345](https://forum.cursor.com/u/ddd1345)\
**Post date:** [October 6, 2026, 8:15am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/7 "2026-10-06T08:15:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [October 6, 2026, 10:50am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/10 "2026-10-06T10:50:58Z")

</div>

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](https://cursor.com/help/troubleshooting/reporting-bugs#how-do-i-find-my-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.

---

<div class="post-metadata">

**Author:** ![ddd1345](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@ddd1345](https://forum.cursor.com/u/ddd1345)\
**Post date:** [October 6, 2026, 7:45am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/11 "2026-10-06T07:45:36Z")

</div>

### 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` | ❌ `Invalid arguments: path: Required` |
| `Grep` (built-in content search) | `pattern` | ❌ `Invalid arguments: pattern: Required` |
| `Shell` (terminal execution) | `command` | ❌ `Invalid arguments: command: Required` |
| `GetDynamicTools` (MCP tool catalog) | `namespace` / `pattern` | ❌ 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

---

<div class="post-metadata">

**Author:** ![ddd1345](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@ddd1345](https://forum.cursor.com/u/ddd1345)\
**Post date:** [October 6, 2026, 7:53am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/13 "2026-10-06T07:53:49Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/d/1/d1135672bdcad8d75d0e66b9a9c62d3859857335.png)

Related:

> [@Agent tool calls fail with Invalid arguments](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834):
>
> 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\> …

> [@GLM 5.3 agent tool calls intermittently arrive with empty arguments — pattern: Required / command: Required](https://forum.cursor.com/t/glm-5-3-agent-tool-calls-intermittently-arrive-with-empty-arguments-pattern-required-command-required/173756/11):
>
> GLM 5.3 Flash has the same problem. As of 5PM ET, I am having the same issue. Title: Agent tool calls fail with “Invalid arguments: : Required” - parent session and GPT-5.6 Luna/GLM subagents, since ~5 PM ET Oct 5 Where does the bug appear: Cursor IDE (Agent chat + Task subagents) Describe the bug: Tool calls intermittently execute with their required argument fields missing. The error is “Invalid arguments: : Required”. It happens in two places: 1. Nested subagents (model glm-5p3-flash-h…

---

<div class="post-metadata">

**Author:** ![ddd1345](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@ddd1345](https://forum.cursor.com/u/ddd1345)\
**Post date:** [October 6, 2026, 8:06am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/15 "2026-10-06T08:06:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ddd1345](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@ddd1345](https://forum.cursor.com/u/ddd1345)\
**Post date:** [October 6, 2026, 9:03am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/16 "2026-10-06T09:03:35Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/c/6/c61363a06a006ab8908d61d0b7ad305104311c03.png)

---

<div class="post-metadata">

**Author:** ![ddd1345](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@ddd1345](https://forum.cursor.com/u/ddd1345)\
**Post date:** [October 6, 2026, 9:25am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/17 "2026-10-06T09:25:21Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/3/5/35b6259a08a06bdd07ed9bdd0a20a4ff14365d68.png)

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

---

<div class="post-metadata">

**Author:** ![wylibroda](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/wylibroda/32/120617_2.png) [@wylibroda](https://forum.cursor.com/u/wylibroda)\
**Post date:** [October 6, 2026, 4:42pm UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/19 "2026-10-06T16:42:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [October 7, 2026, 10:51am UTC](https://forum.cursor.com/t/agent-tool-calls-fail-with-invalid-arguments/173834/20 "2026-10-07T10:51:31Z")

</div>

@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](https://cursor.com/help/troubleshooting/reporting-bugs#how-do-i-find-my-request-id) from that chat.
