Check what breaks while a page loads
check_page_errorsLoads a page in Chrome or Edge as a phone by default, scrolls it, and reports what breaks: JavaScript errors, failed requests, insecure content, and third-party calls with request counts and bytes.
Instructions
Loads one page in the Chrome or Edge on this computer (as a phone by default), scrolls through it, and reports what breaks: uncaught JavaScript errors, console errors, requests that fail (a missing script, font or picture) or answer an error status, insecure http:// content on an https page, and the other sites the page calls, with how many requests and how many bytes each.
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": {
"url": "<url>"
},
"name": "check_page_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to check, for example https://example.com | |
| kind | No | Show only this kind of problem, with every example. Use a `kind` name from an earlier answer; for 15 minutes the same arguments re-read that check instead of checking again. | |
| device | No | phone | |
| delay_ms | No | Pause between two requests to the site, in milliseconds (one request at a time). | |
| ignore_robots_txt | No | Read pages even where the site's robots.txt disallows crawling. Pass true only when the user has said the site is theirs or that they may test it (staging sites usually disallow everything). The report then says at the top that robots.txt was ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| facts | Yes | ||
| notes | Yes | ||
| passed | Yes | ||
| target | Yes | ||
| reading | Yes | How to read this answer: the same lines end the text form | |
| findings | Yes | ||
| headline | Yes | ||
| checked_at | Yes | ||
| robots_txt | Yes | "ignored" only when the caller passed ignore_robots_txt | |
| from_earlier_check | Yes | True when this answer re-reads an earlier check (because `kind` was given) |