Change subscription plan
change_planChange the plan of a workspace that already has a subscription, to a price_id from list_plans. Always call it first with confirm: false, which for an upgrade returns a preview of the prorated charge and charges nothing, and get the user's agreement to that amount. With confirm: true an upgrade charges the payment method on file immediately and adds the photos at once, while a smaller plan charges nothing now and is booked to start at the next renewal. For a workspace without a subscription it returns no_active_subscription; use create_checkout there instead. It cannot cancel a subscription; the user does that in the app. Needs an OAuth sign-in: with an API key it returns an error pointing to the app.
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": {
"price_id": "<price_id>",
"confirm": "<confirm>"
},
"name": "change_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | false previews an upgrade; true applies the change. | |
| price_id | Yes | A `price_id` from list_plans. |