Report what you learned or changed during setup
update_setupTell Checkbox facts you found in the codebase or changes you made: site_url, checkout_url, policy URLs (Checkbox fetches and checks the Terms, refund and cancellation policies), billing_platform, plans and prices, project.layout_file, where checkout sessions are created, and which file got the snippet. Facts decide which laws apply (free trials, annual terms, physical goods). Only send what you know; omit the rest. Returns the updated checklist with next_action. Typical next step: get_setup_status with verify=true.
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": "update_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plans | No | Plans and prices found in the code, e.g. [{"name":"Pro","amount":1900,"currency":"usd","interval":"month","trial_days":14}]; a promo adds intro_percent_off and intro_periods. They decide which laws apply and what generated copy states. | |
| project | No | Facts about the codebase that help Checkbox point tasks at exact files. | |
| site_url | No | Public URL of the site (production, or a preview deployment), e.g. "https://acme.example". | |
| live_site | No | Live-mode site id (site_…) if you created one with a live key. | |
| terms_url | No | Terms of service URL. Checkbox fetches and checks it. | |
| refund_url | No | Refund policy URL. | |
| account_url | No | Account page where subscribers manage / cancel (null clears a URL). | |
| env_written | No | File you wrote the keys to, e.g. ".env.local". | |
| privacy_url | No | Privacy policy URL. | |
| checkout_url | No | Page where customers subscribe (pricing or checkout page). | |
| merchant_name | No | The brand subscribers know (names the seller in generated disclosures), e.g. from the <title> or package.json (also accepted as "brand"). Default: the host name, which the plan then asks you to replace. | |
| setup_session | No | Setup session id (setup_…). Default: the newest one. | |
| support_email | No | Support address for subscribers. | |
| billing_platform | No | Billing platform. | |
| cancellation_url | No | Cancellation policy URL, if separate from the Terms. | |
| refetch_policies | No | Fetch the policy pages again even if their URLs did not change (after editing them). | |
| snippet_installed_in | No | File(s) you added the Checkbox snippet tag to, e.g. "app/layout.tsx". |