From e6933ca98bea8120f44c144834cf32164c0ff62e Mon Sep 17 00:00:00 2001 From: Stefan Dirkse Date: Thu, 11 Dec 2025 14:48:04 +0100 Subject: [PATCH] Fix: Changed structuredContent output to match outputSchema (#3099) --- src/filesystem/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/filesystem/index.ts b/src/filesystem/index.ts index 79a7b2fe..48a599fa 100644 --- a/src/filesystem/index.ts +++ b/src/filesystem/index.ts @@ -500,7 +500,7 @@ server.registerTool( const contentBlock = { type: "text" as const, text }; return { content: [contentBlock], - structuredContent: { content: [contentBlock] } + structuredContent: { content: text } }; } ); @@ -570,7 +570,7 @@ server.registerTool( const contentBlock = { type: "text" as const, text }; return { content: [contentBlock], - structuredContent: { content: [contentBlock] } + structuredContent: { content: text } }; } ); @@ -599,7 +599,7 @@ server.registerTool( const contentBlock = { type: "text" as const, text }; return { content: [contentBlock], - structuredContent: { content: [contentBlock] } + structuredContent: { content: text } }; } );