start_subscription_checkout
Generate a Stripe checkout URL so a user can subscribe to a Kiln paid tier (pro, business, or enterprise) with monthly or annual billing.
Instructions
Get a URL the user can visit to subscribe to a Kiln paid tier.
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": {
"tier": "<tier>"
},
"name": "start_subscription_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ``"pro"``, ``"business"`` or ``"enterprise"`` — the plan to check out for. | |
| No | Pre-fill the Stripe email field. Optional. A signed-in caller's checkout is always for their own account's email; a different one is refused (``CHECKOUT_EMAIL_NOT_YOURS``). | ||
| billing | No | ``"monthly"`` or ``"annual"``. Default: "monthly". | |
| cancel_url | No | Where Stripe redirects on cancel. Defaults to the plans page on kiln3d.com. Same rule. | |
| success_url | No | Where Stripe redirects on success. Defaults to ``https://kiln3d.com/checkout/success?session_id={CHECKOUT_SESSION_ID}``. Must be an https address on kiln3d.com (``REDIRECT_NOT_KILN`` otherwise). |