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 } }; } );