upgrade_subscription
Moves a workspace subscription to a higher plan and prorates the saved card as quoted. Get a quote first, then confirm to charge; declined or 3D Secure payments return a link.
Instructions
Upgrade to a strictly higher plan. MONEY: charges the saved card (prorated). Owner only. Call without confirm for the quote and preview_id; after the user agrees, call with confirm=true, that preview_id and the expected_ fields. 3D Secure or a decline returns a payment link; nothing changes.
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": "upgrade_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| confirm | No | ||
| interval | No | ||
| preview_id | No | ||
| workspace_id | No | ||
| expected_interval | No | ||
| expected_current_tier | No |