Upgrade a page to a paid plan
upgrade_planReturns a Stripe link for the person to open and pay. Nothing is charged unless they complete it there, and the plan changes once they do — then retry what needed it. A new Keepp customer starts with a 7-day free trial and is charged nothing until it ends; say so. Call this when a tool says a feature needs Pro, and tell the person which plan and why.
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": {
"business": "<business>",
"plan": "<plan>"
},
"name": "upgrade_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan to move to. The price is shown on the Stripe page. | |
| business | Yes | The page handle, as it appears in keepp.link/<handle>. For example "janedoe". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | For the person to open. null when already on that plan. | |
| via | No | ||
| plan | Yes |