Scan a multi-page user flow
flow_scanScans a multi-page user journey sequentially, returning one consolidated accessibility report with deduplicated issues and fix payloads.
Instructions
Scan a multi-page user journey. Walks startUrl plus the autoNavigate URLs sequentially (deterministic — one page fully rendered and scanned before the next), then returns ONE consolidated report with issues deduplicated across pages, each carrying the same fix payload as scan_page. Every requested URL gets an explicit outcome in pages[] (scanned / nav_failed / scan_failed / redirected_duplicate / duplicate_request / skipped_cap / blocked — bot-challenge, not a clean page / auth_redirect — a session was given but the page is a sign-in page, session likely expired) — a page is never silently dropped. It visits URLs; it does not click links. To get past a login or a consent wall, pass cookies (both transports) or storageState (local MCP only), and interactions to click/fill once on startUrl before the journey is measured — those steps run on the first page only, and the session they create carries through the rest. Without autoNavigate it scans only startUrl, exactly like scan_page.
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": {
"startUrl": "<startUrl>"
},
"name": "flow_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wcag | No | Only these WCAG criteria. A prefix selects the whole guideline ("1.4") or principle ("2"). | |
| level | No | Highest WCAG conformance level to report. Default "AA" — Level AAA criteria are not reported. Pass "AAA" to include them (naming one AAA criterion in `wcag`, e.g. "3.2.5", also includes it). | |
| rules | No | Only these rule ids (WebAbility type such as "missing_alt" or axe rule id such as "image-alt"). See get_rules. | |
| format | No | "compact" prints one line per element with rule metadata once. "json" returns every field (html, fix values, source). Default: JSON when it fits inline (under ~24k chars), otherwise compact plus a JSON summary of every count. On the hosted server the default is compact. | |
| offset | No | Start the issue list at this index of the severity-sorted entries. The response carries `nextOffset` when more remain; pass it to read the next page. Default 0. Each call scans the page again, so on a live page the list can shift between calls; treat the offset as a position, not a snapshot. | |
| cookies | No | Session cookies to load before the page opens, for pages behind a login or a consent gate (at most 20). Each entry is {name, value} and optionally {url} or {domain} (default: the scanned site) plus {path}. The server sets them on the browser context for this call only and never echoes a value: results name cookies by count, never by content. Nothing is stored after the scan. | |
| maxPages | No | Max pages to scan (default 10; at most 10 on the hosted server) | |
| startUrl | Yes | Starting URL of the journey | |
| minImpact | No | Only findings at this severity or above (critical > serious > moderate > minor) | |
| sourceRoot | No | Local project root (local installs only) for `sourceCandidates[]` on issues without a framework `source` pointer. | |
| autoNavigate | No | The URLs to walk after startUrl, in order (the MCP server is headless and cannot discover a journey interactively). Omit or pass [] to scan only startUrl as a single page. | |
| interactions | No | Steps to run on the page after it loads and before the scan, in order (at most 10, 20s total). Use this to get past a cookie banner, submit a sign-in, or open the panel you want measured. Each step is exactly one of {click: "css selector"}, {fill: {selector, value}}, {waitFor: "css selector"} or {wait: milliseconds}. The scan then measures the page those steps left behind and reports every step in "setup" (a failed step stops the list; the scan still runs and says so). Unlike dismissModals this is deterministic and yours, not a guess. | |
| storageState | No | Local MCP only. Path to a Playwright storage-state JSON file (cookies + localStorage) for pages behind a login. Make one by logging in once: `npx @webability/cli flow <login-url> --save-storage-state auth.json`. The hosted server refuses this argument. |