Uh oh!
There was an error while loading. Please reload this page.
fix: generate default schema for tools with no params - #446
Conversation
jokemanfire
commented
Sep 25, 2025
If this pr has been merged , the empty struct will be updated , how about wait for the newest schema description release? |
asm89
commented
Sep 25, 2025
@jokemanfire Ideally this fix is merged, because it seems like clients in the wild do expect the object type to be present. Servers using rmcp 0.7.0 are not compatible with many clients due to the |
jokemanfire
commented
Sep 26, 2025
Then please add a todo comment. This should be updated according to the new specifications soon. |
Uh oh!
There was an error while loading. Please reload this page.
alexhancock
commented
Sep 26, 2025
It LGTM now if also OK with @jokemanfire The commit message |
c83cfe2 to
b2f77adComparevincent0426
commented
Sep 26, 2025
@jokemanfire any reason that CI doesn't pass? thanks |
jokemanfire
commented
Sep 26, 2025
It should be CI's problem ,I will check. |
jokemanfire
commented
Sep 26, 2025
#458 fix rustdoc build by scoping |
Uh oh!
There was an error while loading. Please reload this page.
…otocol#446) * fix: generate default schema for tools with no params
Motivation and Context
closes#445
provide empty object json schema when there is no params for a tool, following https://github.com/modelcontextprotocol/typescript-sdk/blob/c94ba4b43cd305e39d88985c73d6b9bc1153da84/src/server/mcp.ts#L1202-L1205
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context