Check a checkout / pricing page (HTML or URL)
check_page_htmlChecks a whole checkout or pricing page: finds the purchase button, the renewal disclosure, consent checkboxes and terms/cancel links, and evaluates them. Send html = the RENDERED page (after JavaScript; for React/Next pages, render it or paste the server output) — this is how to check a page before deploying. Or send url to fetch a live public page (live mode on an activated account only; test keys must send html). Static HTML cannot measure styling, so placement/styling passes come back as needs_review until a scan confirms; failures are real. When it fails, replacement holds verified drop-in markup.
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_page_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Live public page URL to fetch instead (live, activated accounts). | |
| html | No | Rendered checkout page HTML. Give html or url. | |
| site | No | Your site_…: judge it as verify_task does (the site's Stripe-checked plans). | |
| as_of | No | Evaluate the law as of this date, YYYY-MM-DD (default today). | |
| plans | No | Multi-plan pricing page: EVERY plan it sells (price, interval, trial_days each). Each plan card is judged against its own plan; plan_replacements gives each plan its own markup for its own button. | |
| terms | No | The plan sold on the page. merchant_name / cancel_url alone are fine (no price compared). | |
| page_kind | No | Default checkout. | |
| checkout_type | No | Where shoppers pay (default: inferred). | |
| jurisdictions | No | Where the business sells: "all" (default) or state codes like ["US-CA","US-NY"] ("CA" works too). Federal law is always included. |