We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1878143 commit 921ce70Copy full SHA for 921ce70
src/server/mcp.test.ts
@@ -265,6 +265,7 @@ describe("tool()", () => {
265
expect(result.tools[0].name).toBe("test");
266
expect(result.tools[0].inputSchema).toEqual({
267
type: "object",
268
+ properties: {},
269
});
270
271
// Adding the tool before the connection was established means no notification was sent
src/server/mcp.ts
@@ -1018,6 +1018,7 @@ export type RegisteredTool = {
1018
1019
const EMPTY_OBJECT_JSON_SCHEMA = {
1020
type: "object" as const,
1021
1022
};
1023
1024
// Helper to check if an object is a Zod schema (ZodRawShape)
0 commit comments