Skip to content

Commit

Permalink
Merge pull request #41 from modelcontextprotocol/justin/disallow-retu…
Browse files Browse the repository at this point in the history
…rning-old-tool-format

Prevent new server code from returning `toolResult`
  • Loading branch information
jspahrsummers authored Nov 8, 2024
2 parents 9334495 + e8a8273 commit c9d810b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modelcontextprotocol/sdk",
"version": "0.3.2",
"version": "0.3.3",
"description": "Model Context Protocol implementation for TypeScript",
"type": "module",
"main": "./dist/index.js",
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,6 @@ export const ServerResultSchema = z.union([
ListResourceTemplatesResultSchema,
ReadResourceResultSchema,
CallToolResultSchema,
CompatibilityCallToolResultSchema,
ListToolsResultSchema,
]);

Expand Down

0 comments on commit c9d810b

Please sign in to comment.