Check the draft
check_siteCheck the draft before publishing: broken links and missing files, pages that will look wrong on phones (missing viewport, sideways scrolling), JavaScript that fails, accessibility problems found by axe-core (WCAG A/AA: contrast, labels, alt text, headings), and with lighthouse: true a Google Lighthouse report (scores and what to fix), forms that point at collections that do not exist or do not allow it, missing alt text, http:// resources and big images. Also gives design hints (info level) when the draft has the generic AI-made look: only default fonts, the stock purple gradient, no design tokens, emoji icons. Also returns agent_readiness: a 0-100 score (with graded breakdown and ranked fixes) of how well AI search and AI agents can find, cite and transact with the site. When browser checks are set up, also loads the pages in a real browser and returns phone and desktop screenshots of one page. Fix the errors (edit_files), then check again. Issues with quick_fix can be fixed in one call with the quick_fix tool.
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": {
"site": "<site>"
},
"name": "check_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page to screenshot, e.g. "/" or "/contact" | / |
| site | Yes | Site slug (e.g. "kopitiam-muar") or id | |
| browser | No | Also run the browser pass when available (includes accessibility checks with axe-core on every page) | |
| lighthouse | No | Also run Google Lighthouse on that page with phone settings: performance, accessibility, best practices and SEO scores (0-100), the main speed metrics, and what to fix first. Adds 10-30 seconds; use it before publishing or when the owner asks about speed or Google scores. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| issues | Yes | ||
| checked | Yes | ||
| summary | Yes | ||
| lighthouse | No | ||
| agent_readiness | No | ||
| preview_comments | No |