Check a website on a phone
check_website_on_phoneOpens a website's pages in a real browser at a phone's size (390 by 844, as an iPhone) and says, page by page, what a phone visitor would hit: sideways scrolling and what is too wide, pictures that do not load, text under 12px, links and buttons under 24px to tap, a missing or zoom-blocking viewport line, bars that cover the screen, and a main heading pushed below the first screen. Each page gets fine and findings in plain words. It changes nothing. Checks every page up to 5 (or the pages named), a few seconds each, up to 40 pages a day per website. With picture true it also returns a screenshot of the first page checked, for an app that can look at images. Fix what it finds with edit_website_file or save_website_files, then check those pages again. Fails with check_limit when the day's checks are used.
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": {
"websiteId": "<websiteId>"
},
"name": "check_website_on_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Optional: up to 5 saved pages to check, such as ["index.html", "menu.html"]. Leave it out to check every page, home page first, up to 5. | |
| editKey | No | The editKey start_website returned, which proves the website is the caller's. Leave it out for a website in the connected account. | |
| picture | No | true to also get a screenshot of the first page checked, as a phone shows it. Leave it out if your app cannot look at images. | |
| websiteId | Yes | The websiteId start_website returned, or one list_sites shows. |