Billing portal link
get_billing_portal_linkCreate a short-lived Stripe Billing Portal URL for an account owner to update their card, change plan, or cancel; return the link to the user instead of opening it.
Instructions
A short-lived Stripe Billing Portal URL where the account owner updates the card, changes plan or cancels. Give the link to the user; never open it yourself. Fails with not_stripe_tenant when the account is not billed through Stripe. Needs an admin key.
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": "get_billing_portal_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | true: validate and show what would happen without changing anything | |
| idempotency_key | No | Any unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| result | Yes | ||
| status | No | ||
| changes | No | ||
| dry_run | No | ||
| message | No | ||
| error_code | No |