We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 019a70b + c59c606 commit 79a20e9Copy full SHA for 79a20e9
1 file changed
src/app.ts
@@ -860,7 +860,14 @@ export class App extends ProtocolWithEvents<
860
return await this.request(
861
{ method: "tools/call", params },
862
CallToolResultSchema,
863
- options,
+ {
864
+ // Hosts may interpose long-running or user-interactive steps before the
865
+ // tool result arrives. Opting in here lets a host heartbeat keep the
866
+ // request alive past the default timeout; callers can still override.
867
+ onprogress: () => {},
868
+ resetTimeoutOnProgress: true,
869
+ ...options,
870
+ },
871
);
872
}
873
0 commit comments