There is no input string in a chat that sent to MCP server

During MCP server development got stuck with Cursor in this specific case.

:lady_beetle:

  • 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.

:counterclockwise_arrows_button: 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.

:camera:

:laptop: Windows, 0.49.6

:prohibited: It doesnโ€™t stop me using Cursor