Run Accessibility Scan
a11y_run_scanRuns a new accessibility scan (axe-core, with the account's WCAG settings) on the given public URLs in a cloud browser and returns the issues found and a testId. Each call uses a test run and creates a test and a build in the account, plus a public share link to the report (shareableLink); a retry runs and bills a new scan. To page or filter the results of a scan that already ran, use a11y_get_report with its testId. Results arrive in issueDetails: allIssues (most-severe-first, one page at a time), rules (name and reference link per rule id, listed once), pages (every scanned page with its score and issue count), failedRules (per-rule totals for the whole scan) and pagination. Each issue carries its own howToFix and criteria, measured for that element; two issues sharing a rule can have different causes and fixes. Issues with bestPractice true are axe best-practice findings with no WCAG criterion, not WCAG failures; pagination.wcagIssues and pagination.bestPracticeIssues count each kind, and wcag_version names the WCAG level the scan checked. While pagination.nextOffset is not null the results are incomplete: call a11y_get_report with the testId and that offset, keeping the same filters, until it is null. a11yReportLink is the dashboard URL and needs a login.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": "<urls>"
},
"name": "a11y_run_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Public URLs to scan. Local and private addresses are rejected; use a11y_run_local_scan for those. | |
| limit | No | Maximum issues to return in this response (default 25, max 50). | |
| offset | No | Index to start from within the filtered, severity-sorted issue list. Pass the nextOffset from a previous response to page through results. | |
| pageUrl | No | Only return issues found on this scanned page, one of the URLs in issueDetails.pages (a trailing slash and host case are ignored). | |
| severity | No | Only return issues of this impact level. Omit to get all severities. | |
| include_rules | No | Return the full rule catalog (about 11 KB) instead of the default ruleCatalog summary of counts per category and disabled rule ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Pages the scan covered. | |
| testId | Yes | ||
| urlCount | Yes | ||
| reportData | Yes | The report: issueDetails, description, wcag_version, scores and links. | |
| reportLink | No | The public share link when this call created one (a11y_run_scan), otherwise the dashboard URL, which needs a login. |