diff --git a/mcp-client-typescript/index.ts b/mcp-client-typescript/index.ts index 866fa8a..150434c 100644 --- a/mcp-client-typescript/index.ts +++ b/mcp-client-typescript/index.ts @@ -100,7 +100,6 @@ class MCPClient { // Process response and handle tool calls const finalText = []; - const toolResults = []; for (const content of response.content) { if (content.type === "text") { @@ -114,7 +113,6 @@ class MCPClient { name: toolName, arguments: toolArgs, }); - toolResults.push(result); finalText.push( `[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]`, );