Check checkout disclosure text
check_disclosureBefore shipping a checkout: checks the renewal disclosure next to the purchase button against every applicable law and returns per-check verdicts with citations plus a verified REPLACEMENT (disclosure_text, consent_label, button_text, drop-in html and jsx). Pass the text exactly as rendered plus the plan terms. Example: {"text":"Renews monthly at $19.99 until you cancel.","price":19.99,"interval":"month","cancel_url":"https://acme.example/account/cancel","consent":{"checkbox":true,"prechecked":false}}. If verdict is fail, put replacement.jsx (React) or .html above the button, then call again with the new text, consent and placement.bold: true. Styling needs_review: a scan confirms.
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": {
"text": "<text>"
},
"name": "check_disclosure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | With site: plan name or price_… | |
| site | No | site_…: its plans fill terms you leave out | |
| text | Yes | The disclosure shown next to the purchase button, exactly as rendered. | |
| as_of | No | Evaluate the law as of this date, YYYY-MM-DD (default today). | |
| price | No | Recurring price, major units (19.99). | |
| amount | No | Or minor units (1999 = $19.99). | |
| consent | No | The consent checkbox, if any. | |
| verbose | No | ||
| currency | No | ISO currency, default "usd". | |
| interval | No | Billing interval: day, week, month or year (optional with site). | |
| placement | No | Defaults: above the button, same page, 14px, high contrast. | |
| plan_name | No | Plan / product name, e.g. "Pro". | |
| brand_name | No | Alias of merchant_name. | |
| cancel_url | No | https URL where subscribers cancel online (used in generated text). | |
| trial_days | No | Free-trial days (0 or absent = no trial). | |
| button_text | No | Purchase button label, e.g. "Start free trial". | |
| intro_price | No | Promo first-period price, major units ($8 → 8). | |
| cancel_timing | No | When a cancellation takes effect (default period_end). | |
| checkout_type | No | Stripe-hosted: no box here | |
| intro_periods | No | Billing periods the promo lasts (default 1). | |
| jurisdictions | No | Where the business sells: "all" (default) or state codes like ["US-CA","US-NY"] ("CA" works too). Federal law is always included. | |
| merchant_name | No | Brand shown to subscribers, e.g. "Acme". | |
| order_summary | No | Other text next to the button (order summary), if any. | |
| interval_count | No | Default 1; 3 + month = quarterly. | |
| intro_percent_off | No | Or the promo as % off (coupon percent_off). |