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
`📄 ${remainingIssues} more issues available. Use fetchAccessibilityIssues with nextPage: ${next_page} to get the next batch.`,
189
+
`${remainingIssues} more issues available. Use fetchAccessibilityIssues with cursor: ${next_page} to get the next batch.`,
190
190
);
191
191
}else{
192
192
messages.push(`✅ All issues retrieved.`);
@@ -344,19 +344,19 @@ function createScanSuccessResponse(
344
344
scanId: string,
345
345
scanRunId: string,
346
346
reportUrl: string,
347
-
nextPage: number|null,
347
+
cursor: number|null,
348
348
): CallToolResult{
349
349
constmessages=[
350
-
`✅ Accessibility scan "${name}" completed. check the BrowserStack dashboard for more details [https://scanner.browserstack.com/site-scanner/scan-details/${name}].`,
350
+
`Accessibility scan "${name}" completed. check the BrowserStack dashboard for more details [https://scanner.browserstack.com/site-scanner/scan-details/${name}].`,
351
351
`Scan ID: ${scanId} and Scan Run ID: ${scanRunId}`,
352
352
`You can also download the full report from the following link: ${reportUrl}`,
353
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.`,
359
+
`More issues available. Use fetchAccessibilityIssues tool with scanId: "${scanId}", scanRunId: "${scanRunId}", and cursor: ${cursor} to get the next batch.`,
360
360
);
361
361
}
362
362
@@ -486,15 +486,15 @@ export default function addAccessibilityTools(
486
486
487
487
tools.fetchAccessibilityIssues=server.tool(
488
488
"fetchAccessibilityIssues",
489
-
"Fetch accessibility issues from a completed scan with pagination support. Use nextPage parameter to get subsequent pages of results.",
489
+
"Fetch accessibility issues from a completed scan with pagination support. Use cursor parameter to get subsequent pages of results.",
490
490
{
491
491
scanId: z
492
492
.string()
493
493
.describe("The scan ID from a completed accessibility scan"),
494
494
scanRunId: z
495
495
.string()
496
496
.describe("The scan run ID from a completed accessibility scan"),
0 commit comments