Check Stripe Checkout Session params (returns corrected params)
check_stripe_checkout_sessionBefore shipping Stripe Checkout code: pass, as params, EXACTLY the object your code passes to stripe.checkout.sessions.create (mode "subscription"). Checkbox evaluates it against automatic-renewal laws and returns correction.corrected_params — the full params with the fix applied, ready to paste — plus an RFC 6902 JSON patch and before/after verification per check. With a Price id (price_…) in line_items, pass site (its plans are used) or merchant { price, interval, trial_days, merchant_name, cancel_url }. Note: Stripe styles custom_text itself, so "clear and conspicuous" stays needs_review here; the plan shows it as a note, never a fix.
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": {
"params": "<params>"
},
"name": "check_stripe_checkout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | With site: plan name or price_… | |
| site | No | site_… whose plans judge it (as verify_task) | |
| as_of | No | Evaluate the law as of this date, YYYY-MM-DD (default today). | |
| params | Yes | The Checkout Session params object, e.g. {"mode":"subscription","line_items":[{"price":"price_123","quantity":1}],"success_url":"https://acme.example/welcome"}. | |
| merchant | No | What the params do not say: merchant_name, cancel_url, and price/interval when line_items use a Price id. | |
| jurisdictions | No | Where the business sells: "all" (default) or state codes like ["US-CA","US-NY"] ("CA" works too). Federal law is always included. |