check_preview
Checks a Hillnote Builds page in a hidden browser after changes, reporting console errors, uncaught exceptions, failed requests, and a screenshot so you can verify it works.
Instructions
Check a page of the app you are building (a Hillnote Builds project) the way the user would see it: Hillnote loads it in a hidden browser window and reports console errors and warnings, uncaught exceptions and failed requests, with a screenshot (returned as an image, and saved as a PNG). Use it after a change to see whether the page works. Pages of this computer's own servers only (localhost). Without url: the app Hillnote is running for the open project; a path such as "/settings" is a page of that app. Each check starts like a new visitor (no cookies or storage). Requires the Hillnote app to be running.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A page of this computer's own servers (http://localhost:5173/settings), or a path on the app Hillnote is running ("/settings"). Default: that app's address. | |
| click | No | A CSS selector to click once the page has loaded (optional), e.g. "button[type=submit]" | |
| width | No | Window width in pixels (default 1280; 390 for a phone) |