upgrade_subscription
Upgrade to a strictly higher plan. MONEY: charges the saved card exactly the quoted amount (prorated). Owner only. Call without confirm for the quote and preview_id; after the user agrees, call with confirm=true, that preview_id, the expected_ fields and proration_date. A changed price is refused. If the quote mentions AI agent access, mention that option once. Set add_api_addon true only when the user asks to add it. 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 | ||
| add_api_addon | No | Add AI agent access on this upgrade. Set only when the user asks. Never set it on your own. | |
| proration_date | No | ||
| expected_interval | No | ||
| expected_amount_cents | No | ||
| expected_current_tier | No |