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.
1 parent 718120d commit c543095Copy full SHA for c543095
src/server/mcp.ts
@@ -104,7 +104,8 @@ export class McpServer {
104
description: tool.description,
105
inputSchema: tool.inputSchema
106
? (zodToJsonSchema(tool.inputSchema, {
107
- strictUnions: true
+ strictUnions: true,
108
+ pipeStrategy: 'input'
109
}) as Tool['inputSchema'])
110
: EMPTY_OBJECT_JSON_SCHEMA,
111
annotations: tool.annotations,
@@ -113,7 +114,8 @@ export class McpServer {
113
114
115
if (tool.outputSchema) {
116
toolDefinition.outputSchema = zodToJsonSchema(tool.outputSchema, {
117
118
+ pipeStrategy: 'output'
119
}) as Tool['outputSchema'];
120
}
121
0 commit comments