Suggest conversion improvements that keep the checks passing
suggest_improvementsOPTIONAL, after compliance: concrete ways to make the checkout page, Stripe Checkout, lifecycle emails and the cancellation flow convert or retain better WITHOUT breaking automatic-renewal laws. Deterministic library; every after-example was run through Checkbox's own checks for the merchant's states before it is offered. Each suggestion gives apply.where + apply.content (the exact copy, Stripe JSON patch or flow change to make), apply.instructions, preconditions that must be true (never apply one whose precondition is false), and guardrails with catalog requirement ids (e.g. California / Colorado click-to-cancel next to any save offer, Minnesota ask-first). Never invent figures or add urgency, pre-checked boxes or obstacles. With a site id (or one site in this mode): suggestions from what Checkbox observed. Or send the copy you are writing: terms + any of disclosure, page_html, stripe_checkout_session_params, emails, cancellation_flow (as in the check_* tools). Surfaces whose compliance checks fail are held: fix them first (get_compliance_plan). Suggestions never block and never count toward compliance. After applying one, re-run the check named in verification.operation_id on the real copy.
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": "suggest_improvements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site id (site_…). Optional when the account has exactly one site in this mode; list_sites shows them. | |
| as_of | No | Evaluate the law as of this date, YYYY-MM-DD (default today). | |
| terms | No | The plan sold (price or amount, interval, trial_days, merchant_name, cancel_url). Required with disclosure or emails. | |
| emails | No | Lifecycle emails (as in check_email). | |
| surfaces | No | Only these surfaces. | |
| page_html | No | Rendered checkout page HTML (as in check_page_html). | |
| disclosure | No | Your own checkout (as in check_disclosure, plan terms in terms). | |
| other_plans | No | Other plans you sell (enables cheaper-plan / plan-choice suggestions). | |
| jurisdictions | No | Where the business sells: "all" (default) or state codes like ["US-CA","US-NY"] ("CA" works too). Federal law is always included. | |
| trial_reminders | No | You send a trial-ending reminder to every trial subscriber. | |
| cancellation_flow | No | Your cancellation flow, one entry per screen from the account page to the confirmation. | |
| stripe_checkout_session_params | No | Exactly what your code passes to stripe.checkout.sessions.create. |