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.
2 parents 64a60c4 + 921ce70 commit 7682c4cCopy full SHA for 7682c4c
src/server/mcp.test.ts
@@ -267,6 +267,7 @@ describe("tool()", () => {
267
expect(result.tools[0].name).toBe("test");
268
expect(result.tools[0].inputSchema).toEqual({
269
type: "object",
270
+ properties: {},
271
});
272
273
// Adding the tool before the connection was established means no notification was sent
src/server/mcp.ts
@@ -1182,6 +1182,7 @@ export type RegisteredTool = {
1182
1183
const EMPTY_OBJECT_JSON_SCHEMA = {
1184
type: "object" as const,
1185
1186
};
1187
1188
// Helper to check if an object is a Zod schema (ZodRawShape)
0 commit comments