pull transport send options into own named type
This commit is contained in:
parent
621e65c42b
commit
1359e9fe6a
1 changed files with 43 additions and 17 deletions
|
|
@ -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:');
|
||||
|
|
|
|||
Loading…
Reference in a new issue