diff --git a/src/tools/screenshot.ts b/src/tools/screenshot.ts index e0a9a55..facc895 100644 --- a/src/tools/screenshot.ts +++ b/src/tools/screenshot.ts @@ -103,7 +103,7 @@ async function handleScreenshot( const serverInstance = context.getServer(); if (serverInstance) { - serverInstance.notification({ + await serverInstance.notification({ method: "notifications/resources/list_changed", }); }