-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance tool call input #130
Comments
I added a draft approach here for the maintainers to review, let me know what you think: #136 |
+1, need more complex tool call input |
I updated my original PR to add a JSON editing component in order to resolve conflicts and took it out of draft: #136 Still working on providing an updated version of the Everything server to help test more complex inputs. |
A few enhancements were merged this AM. Please take a look at the latest from main and let me know if you have any suggestions for further improvements! |
hi, maybe something like array is not corret. here is an object-array example:
In mcp inspector it is a string input box: Expect the following effects: |
A couple updates on related changes: @kshern was awesome and added more robust array handling in this PR: #157 There are still some open issues I noticed when it comes to editing object fields, and there's also this open issue with handling fields that are supposed to be integers: #154 I have an open PR here tp address both of those, and since the tool input logic is starting to get pretty complicated I also started adding automated tests: #159 |
Is your feature request related to a problem? Please describe.
Tools with complex object input schemas can be difficult to work with because we're only given a
<textarea/>
in the UI.Describe the solution you'd like
Provide a JSON editor component, rather than a textarea for object inputs. This component could be pre-populated with the fields of the input schema.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: