When I’m using Agent, I can see there is an error that keeps showing up. This has been when using GPT-5 and Grok-code-fast-1. The error reads…
“[composer] ToolFormer: tool types do not match”
This is not stopping the agent from working but I can imagine something isn’t quite right with it.
Steps to Reproduce
Seems to happen on most responses.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. This ToolFormer type mismatch error appears to be a new issue we haven’t seen reported before.
Since it’s not blocking your work but indicates an internal validation issue with the Agent’s tool system, I’ll escalate this to the engineering team for investigation.
In the meantime, if you notice any patterns about when it occurs (specific types of requests, certain tools being used, etc.), feel free to share those details here.
Thanks, the only thing I would says was that the model I was using at the time when I first noticed it (Grok-code-fast-1), seemed to really struggle with resolving a css issue and after 10 failed attempts, I switched to GPT-5 to see if it could resolve it - which it did first time around. The error was still showing in the new chat with GPT-5 though.
i get this error constantly and it makes Cursor completely unusable
[composer] ToolFormer: tool type do not match
I am on windows 11 and i have the most recent version of cursor, it does not report any issues but it is constantly stuck “creating files” but it doesnt actually do anything.
Steps to Reproduce
Simply using the Agent on this version or whatever im not even sure its just whenver i try to run it.
Expected Behavior
the agent is supposed to write code and progress through the ideas at hand