Check checkout disclosure text
check_disclosureBefore shipping a checkout: checks the automatic-renewal disclosure shown next to the purchase button against every applicable law (ROSCA, CA, NY, …) and returns per-check verdicts with citations plus a REPLACEMENT verified by the rules engine (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","trial_days":14,"cancel_url":"https://acme.example/account/cancel","merchant_name":"Acme","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 (it is semibold). needs_review on styling means a rendered scan must confirm.
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_… whose plans judge it (as verify_task) | |
| 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 the page has one. Omit when there is none. | |
| currency | No | ISO currency, default "usd". | |
| interval | No | Billing interval: day, week, month or year (optional with site). | |
| placement | No | Where and how the disclosure is shown (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). | |
| 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). |