Skip to content

Commit c9d810b

Browse files
Merge pull request #41 from modelcontextprotocol/justin/disallow-returning-old-tool-format
Prevent new server code from returning `toolResult`
2 parents 9334495 + e8a8273 commit c9d810b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/sdk",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "Model Context Protocol implementation for TypeScript",
55
"type": "module",
66
"main": "./dist/index.js",

src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,6 @@ export const ServerResultSchema = z.union([
10611061
ListResourceTemplatesResultSchema,
10621062
ReadResourceResultSchema,
10631063
CallToolResultSchema,
1064-
CompatibilityCallToolResultSchema,
10651064
ListToolsResultSchema,
10661065
]);
10671066

0 commit comments

Comments
 (0)