upgrade
Upgrade to Pro or Premium. Always two steps: without confirmPaymentSpend the tool only reads the exact price from Polar and charges nothing; call it again with confirmPaymentSpend: true to get the Polar checkout URL. The payment itself happens on Polar's page, never here.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan to buy. | |
| confirmPaymentSpend | No | Must be true to create a checkout. Absent or false: read-only, the price is returned and nothing is charged. |