We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8528fbe commit 4f69d32Copy full SHA for 4f69d32
apps/sim/lib/mcp/client.ts
@@ -199,10 +199,11 @@ export class McpClient {
199
protocolVersion: this.getNegotiatedVersion(),
200
})
201
202
- const sdkResult = await this.client.callTool({
203
- name: toolCall.name,
204
- arguments: toolCall.arguments,
205
- })
+ const sdkResult = await this.client.callTool(
+ { name: toolCall.name, arguments: toolCall.arguments },
+ undefined,
+ { timeout: this.config.timeout || 600000 }
206
+ )
207
208
return sdkResult as McpToolResult
209
} catch (error) {
0 commit comments