During MCP server development got stuck with Cursor in this specific case.
- There is a call of a tool, but the data provided badly by LLM.
- Cursor throws an error
Invalid type for parameter 'targetObject' in tool Reflection_MethodCall
(maybe that does my MCP server, I am not sure, anyway it is not important in the context). - There is no represented data in a chat which were sent or tried to be sent to a MCP server.
Without the data it is really hard to debug the issue.
My proposition is to render it as usual when tool call was successful.
It may be random to reproduce it, because it depends on the prompt and the current context. LLM should fail to provide proper input data.
Windows, 0.49.6
It doesnโt stop me using Cursor