upgrade_to_pro
Get a checkout link so the user can upgrade THIS account to Epublys Pro.
Call this when another tool is refused with daily_limited or a Pro-only error, or when the
user asks to upgrade. Returns a Stripe checkout URL to hand to the user — they complete payment
in their own browser.
Creates no charge by itself, and the link is bound to the account that owns the API key being used, so it cannot be used to pay for anyone else. If the account is already Pro it says so and returns no link. Needs an API key: without one it returns the pricing URL instead of a checkout link. Free: 3 operations/day, 5MB per file. Pro: unlimited daily operations, 30MB per operation, 60 req/min, no branding on output.
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": "upgrade_to_pro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | monthly is $9/month; yearly is $72/year (4 months free, 33% off). Defaults to monthly. | monthly |