verify_flow
Compare up to six scroll, click, and wait steps between a build and reference page, then mark a step as matching only when both sides complete and path, scroll, hashes, and element counts agree.
Instructions
Step-aligned comparison of interaction flows: runs the same 1–6 scroll/click/wait steps on a build and a reference page (two fresh headless launches, desktop or mobile), then compares path, scroll delta, skeleton hash, text hash and element count after each step. A step is same only when both sides are complete and untruncated; truncated or failed states are unknown. No screenshots: hashes are evidence, not visual truth. A click can still trigger client-side mutations. Runs on URLs you are authorized to inspect. Use verify_build for a scored structure/motion comparison; build_project converts a local file into a project and never verifies. Needs the optional Playwright dependency.
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": {
"buildUrl": "<buildUrl>",
"referenceUrl": "<referenceUrl>",
"steps": "<steps>"
},
"name": "verify_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | 1-6 actions run on both pages in order; each scroll/click is followed by a 150 ms settle | |
| buildUrl | Yes | URL of the build to exercise (http(s), local dev server or deployed) | |
| viewport | No | desktop = 1440x900; mobile = 390x844 iPhone-class; both run in fresh headless launches | |
| referenceUrl | Yes | URL of the reference page to compare against | |
| waitStrategy | No | 'load' (default) waits for load plus a 3 s settle; 'networkidle' waits for network quiet |