Skip to content

Commit e6933ca

Browse files
authored
Fix: Changed structuredContent output to match outputSchema (#3099)
1 parent 44afe4c commit e6933ca

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/filesystem/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ server.registerTool(
500500
const contentBlock = { type: "text" as const, text };
501501
return {
502502
content: [contentBlock],
503-
structuredContent: { content: [contentBlock] }
503+
structuredContent: { content: text }
504504
};
505505
}
506506
);
@@ -570,7 +570,7 @@ server.registerTool(
570570
const contentBlock = { type: "text" as const, text };
571571
return {
572572
content: [contentBlock],
573-
structuredContent: { content: [contentBlock] }
573+
structuredContent: { content: text }
574574
};
575575
}
576576
);
@@ -599,7 +599,7 @@ server.registerTool(
599599
const contentBlock = { type: "text" as const, text };
600600
return {
601601
content: [contentBlock],
602-
structuredContent: { content: [contentBlock] }
602+
structuredContent: { content: text }
603603
};
604604
}
605605
);

0 commit comments

Comments
 (0)