Replies: 1 comment 1 reply
-
The spec doesn't say that an empty schema is disallowed. But I think everybody assumes that the schema will describe a JSON object. So I do think failing in this case makes sense. Can you turn this into an issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
I have some tools that don't take parameters and don't care if there are any. Invoking list tools e.g. with mcp-inspector will error in this case. I've solved this by declaring an emtpy schema:
I'm not fluent with the spec. In case empty schema is not allowed, would it make sense to add this as default when registering tools if not populated?
Beta Was this translation helpful? Give feedback.
All reactions