get_site_health
Read-only; changes nothing. The checks of the published site (key scope sites:read): Siteon runs the same rules as check_site over the version that is live, once after each publish and once a week, and keeps the last 10 runs. The answer has checks (newest first) with reason (deploy / weekly), status, checked_at, a summary (errors / warnings / infos, html_total / html_checked) and findings — each finding is only its level, rule and path, never the page's own text. latest is the newest completed run and previous_warnings the one before it, so you can see whether things got worse. Use it to answer "is anything wrong with my site?" without deploying: read a rule's path here, then read that file (read_draft_file, or siteon check on the folder from the CLI) to see the details and the suggested fix. The same rules run before a publish, so preview_draft reports them for a draft.
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": "get_site_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site ID (the id from list_sites, e.g. "my-shop") |