Scan Local Web App for Accessibility via Tunnel
a11y_run_local_scanRuns an accessibility scan (axe-core) of a web app served on http://localhost: on the user's machine, reached by a cloud browser through a TestMu AI tunnel. It needs the tunnel binary already running in the user's own terminal (commands from a11y_get_tunnel_setup_steps); this server cannot start it, so the scan cannot complete from a chat client without a shell. Each call uses a test run and creates a test and a build in the account, plus a public share link to the report; a retry runs and bills a new scan. Returns the same report shape as a11y_run_scan. Fails with an error when the tunnel is not running or its name does not match.
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": {
"port": "<port>",
"tunnelName": "<tunnelName>"
},
"name": "a11y_run_local_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port where the app answers on the user's machine. | |
| tunnelName | Yes | The --tunnelName the user started the tunnel with, exactly (for example accessibility-tunnel-3000). |