fix: missing "properties" property in empty schema

This commit is contained in:
sinedied 2025-06-09 14:17:53 +02:00
commit 921ce70fa3

View file

@ -265,6 +265,7 @@ describe("tool()", () => {
expect(result.tools[0].name).toBe("test");
expect(result.tools[0].inputSchema).toEqual({
type: "object",
properties: {},
});
// Adding the tool before the connection was established means no notification was sent