pull transport send options into own named type

This commit is contained in:
ihrpr 2025-04-15 11:42:16 +01:00
commit 1359e9fe6a
No known key found for this signature in database

View file

@ -302,7 +302,7 @@ async function callTool(name: string, args: Record<string, unknown>): Promise<vo
notificationsToolLastEventId = event;
};
const result = await client.request(request, CallToolResultSchema, {
lastEventId: notificationsToolLastEventId, onLastEventIdUpdate
resumptionToken: notificationsToolLastEventId, onresumptiontoken: onLastEventIdUpdate
});
console.log('Tool result:');