We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f010748 + 2826144 commit a9d6ec0Copy full SHA for a9d6ec0
1 file changed
src/client.ts
@@ -301,10 +301,14 @@ export async function callTool(
301
args: Record<string, unknown>,
302
): Promise<unknown> {
303
return withRetry(async () => {
304
- const result = await client.callTool({
305
- name: toolName,
306
- arguments: args,
307
- });
+ const result = await client.callTool(
+ {
+ name: toolName,
+ arguments: args,
308
+ },
309
+ undefined,
310
+ { timeout: getTimeoutMs() },
311
+ );
312
return result;
313
}, `call tool ${toolName}`);
314
}
0 commit comments