You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -283,12 +341,26 @@ function createScanSuccessResponse(
283
341
totalIssues: number,
284
342
pageLength: number,
285
343
records: any[],
344
+
scanId: string,
345
+
scanRunId: string,
346
+
reportUrl: string,
347
+
nextPage: number|null,
286
348
): CallToolResult{
287
-
returncreateSuccessResponse([
349
+
constmessages=[
288
350
`✅ Accessibility scan "${name}" completed. check the BrowserStack dashboard for more details [https://scanner.browserstack.com/site-scanner/scan-details/${name}].`,
351
+
`Scan ID: ${scanId} and Scan Run ID: ${scanRunId}`,
352
+
`You can also download the full report from the following link: ${reportUrl}`,
289
353
`We found ${totalIssues} issues. Below are the details of the ${pageLength} most critical issues.`,
`📄 More issues available. Use fetchAccessibilityIssues tool with scanId: "${scanId}", scanRunId: "${scanRunId}", and nextPage: ${nextPage} to get the next batch.`,
360
+
);
361
+
}
362
+
363
+
returncreateSuccessResponse(messages);
292
364
}
293
365
294
366
asyncfunctionrunAccessibilityScan(
@@ -314,10 +386,19 @@ async function runAccessibilityScan(
0 commit comments