You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have one of the parameters in my MCP server as an object but when using the inspector it shows a text field and then JSON stringifies the JSON as well as adding in the slashes so when it's sent to the tool it's as a text string and not object.
To Reproduce
Create a tool that takes in an object parameter and run the inspector.
Expected behavior
Should be able to send a JSON object that's not stringified
Logs
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
- Add special handling for object type parameters
- Parse JSON input for object parameters
- Maintain raw input if JSON parsing fails
- Fixes#110
Co-Authored-By: ashwin@anthropic.com <ashwin@anthropic.com>
Describe the bug
I have one of the parameters in my MCP server as an object but when using the inspector it shows a text field and then JSON stringifies the JSON as well as adding in the slashes so when it's sent to the tool it's as a text string and not object.
To Reproduce
Create a tool that takes in an object parameter and run the inspector.
Expected behavior
Should be able to send a JSON object that's not stringified
Logs
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: