Skip to content

Commit 1627904

Browse files
fix(mcp): relax input type for asTextContextResult
1 parent 8d0556f commit 1627904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mcp-server/src/tools/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export type HandlerFunction = (
4747
args: Record<string, unknown> | undefined,
4848
) => Promise<ToolCallResult>;
4949

50-
export function asTextContentResult(result: Object): ToolCallResult {
50+
export function asTextContentResult(result: unknown): ToolCallResult {
5151
return {
5252
content: [
5353
{

0 commit comments

Comments
 (0)