Check the whole screen
check_screenRun accessibility audits or visual regression checks on an entire screen, returning identified issues or image diffs against a saved baseline.
Instructions
Check the whole screen. accessibility: an accessibility audit of contrast, touch targets, labels, reading order (types, maxIssues). visual: a visual regression test against the image name in dir, failing with CHECK_FAILED and a diff image past tolerance (percent of pixels); masks are left out. visual_baseline saves it. One element: check_element; pixels: take_screenshot. Returns the issues or the diff.
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": {
"check": "<check>"
},
"name": "check_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | ||
| name | No | ||
| check | Yes | ||
| masks | No | ||
| types | No | ||
| maxIssues | No | ||
| tolerance | No |