check_ui
Verify a running web app after a UI change by capturing logged-in screenshots at chosen widths and interactions, plus text findings on layout shifts, errors, missed actions, and animation glitches.
Instructions
Look at a running web app after a UI change: screenshots (logged in via agent-eyes.config.json, at the widths you ask, after clicks/hovers), plus findings as text: horizontal scroll, content that jumped after load, page errors, server 5xx, actions that missed, and animation glitches (shrink, snap, flicker, freeze). Returns image file paths with their token cost; open only the ones you need with view_image. Put every screen and interaction in one call.
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": {
"checks": "<checks>"
},
"name": "check_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | Folder for the images (default ./agent-eyes-out). Use a separate folder to keep a baseline before editing. | |
| vars | No | Values for {name} in routes, e.g. {"id":"42"}. | |
| wait | No | Milliseconds to wait after each page loads (default 1200). | |
| checks | Yes | Everything to verify, in one call. | |
| config | No | Config file, if not ./agent-eyes.config.json. | |
| widths | No | Default widths for checks that give none (default: the config's, else 1440 and 390). | |
| baseUrl | No | e.g. "http://localhost:3000". Optional when agent-eyes.config.json has "baseUrl". | |
| compare | No | Folder of a previous run: each screenshot is compared pixel by pixel with the one of the same name. "identical" means nothing to look at; otherwise one side-by-side image with the changed regions boxed in red, listed as text. | |
| projectDir | No | Absolute path of the project (where agent-eyes.config.json lives, and where relative paths resolve). Default: the server's working directory. |