Link to cancel or change a subscription
billing_portal_linkFor an owner with a subscription: a one-time Stripe customer-portal link. Give it to the owner and say: "Open this to cancel or change your card." The owner opens it in their browser (you can't use it for them). It expires about 5 minutes after it is made, so ask for it when they are ready, and call this tool again for a new one. For accounts without a subscription (one-time licenses never renew) the answer is a plain message and no link. Needs the checkout:create permission (the link can cancel a subscription and shows billing details, so a download-only key can't get one).
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": "billing_portal_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||