Upgrade plan
upgrade_planStart paying for Pro or Team. Returns a single-use link to a prefilled Stripe Checkout page; the user opens it and confirms, and card details are only ever entered there. Pro is for a one-person workspace. If the workspace already pays, the link opens its billing page, where Pro can be switched to Team in place. Ask which workspace if the user manages several.
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": {
"plan": "<plan>"
},
"name": "upgrade_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan id from list_plans. | |
| teamId | No | Workspace (team) ID from billing_status. Omit when the user manages exactly one workspace. | |
| currency | No | ISO 4217 code to be quoted in, e.g. USD or CAD. A returning customer keeps their first currency. |