Skip to content

Commit 1ae9bb7

Browse files
authored
Remove default stringify
1 parent b6de268 commit 1ae9bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/BaseTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export abstract class MCPTool<TInput extends Record<string, any> = {}>
127127
}
128128

129129
return {
130-
content: [{ type: "text", text: JSON.stringify(data) }],
130+
content: [{ type: "text", text: data.toString() }],
131131
};
132132
}
133133

0 commit comments

Comments
 (0)