create_plan_upgrade_link
Create a Stripe Checkout link for a new paid subscription, or a Stripe Billing Portal link for an existing Stripe subscription. Use only after the user explicitly asks to upgrade or fix billing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_plan_upgrade_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | No | Target plan ID. Use list_plan_options first if unknown. | |
| confirm | No | Required true to create a Stripe-hosted payment or billing link. | |
| planCode | No | Target plan code, e.g. favcrm-lite. Either planId or planCode is required. | |
| returnUrl | No | Where Stripe should return after checkout/portal. Defaults to merchant billing settings. | |
| billingCycle | No | monthly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |