From 8b624fa7188f57ec281db0bfb3cdffaf202b0591 Mon Sep 17 00:00:00 2001 From: Stefan Dirkse Date: Wed, 3 Dec 2025 15:32:00 +0100 Subject: [PATCH] Fix: Changed structuredContent output to match outputSchema --- 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 79a7b2fe4c..48a599fae1 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 } }; } );