Merge branch 'main' into justin/server-auth

This commit is contained in:
Justin Spahr-Summers 2025-02-21 11:44:57 +00:00
commit 529d017d94
No known key found for this signature in database

View file

@ -108,7 +108,9 @@ export class McpServer {
name,
description: tool.description,
inputSchema: tool.inputSchema
? (zodToJsonSchema(tool.inputSchema) as Tool["inputSchema"])
? (zodToJsonSchema(tool.inputSchema, {
strictUnions: true,
}) as Tool["inputSchema"])
: EMPTY_OBJECT_JSON_SCHEMA,
};
},